MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / WriteVector2D

Function WriteVector2D

PythonAPI/carla/source/libcarla/Geom.cpp:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26 template <typename T>
27 static void WriteVector2D(std::ostream &out, const char *name, const T &vector2D) {
28 out << name
29 << "(x=" << std::to_string(vector2D.x)
30 << ", y=" << std::to_string(vector2D.y) << ')';
31 }
32
33 template <typename T>
34 static void WriteVector3D(std::ostream &out, const char *name, const T &vector3D) {

Callers 1

Geom.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected