| 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) { |