From 330f75e663c22e1198a92fd134865ada98c3957b Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 2 May 2016 22:57:13 -0400 Subject: Initial commit --- vector3d.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 vector3d.cpp (limited to 'vector3d.cpp') diff --git a/vector3d.cpp b/vector3d.cpp new file mode 100644 index 0000000..91e94c0 --- /dev/null +++ b/vector3d.cpp @@ -0,0 +1,7 @@ +#include "vector3d.h" + +std::ostream& operator<<(std::ostream& os, const Vector3D& v) +{ + os << "(" << v.x << "," << v.y << "," << v.z << ")"; + return os; +} -- cgit 1.4.1