diff options
Diffstat (limited to 'vector3d.cpp')
-rw-r--r-- | vector3d.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vector3d.cpp b/vector3d.cpp new file mode 100644 index 0000000..91e94c0 --- /dev/null +++ b/vector3d.cpp | |||
@@ -0,0 +1,7 @@ | |||
1 | #include "vector3d.h" | ||
2 | |||
3 | std::ostream& operator<<(std::ostream& os, const Vector3D& v) | ||
4 | { | ||
5 | os << "(" << v.x << "," << v.y << "," << v.z << ")"; | ||
6 | return os; | ||
7 | } | ||