1 2 3 4 5 6 7
#include "vector3d.h" std::ostream& operator<<(std::ostream& os, const Vector3D& v) { os << "(" << v.x << "," << v.y << "," << v.z << ")"; return os; }