return *this;\r
}\r
\r
+// Check for equality\r
+bool Vector::operator==(Vector const v)\r
+{\r
+ return (x == v.x && y == v.y && z == v.z ? true : false);\r
+}\r
+\r
+// Check for inequality\r
+bool Vector::operator!=(Vector const v)\r
+{\r
+ return (x != v.x || y != v.y || z != v.z ? true : false);\r
+}\r
\r
Vector Vector::Unit(void)\r
{\r