]> Shamusworld >> Repos - architektonas/blobdiff - src/vector.h
Miscellaneous fixes/updates:
[architektonas] / src / vector.h
index 5ef0a9242b75188812cff6aee7fa8091990023e3..67d9aa92f8e0f0d82ebb7bf2fdff4c7febe63277 100644 (file)
@@ -20,7 +20,8 @@ class Vector
 {
        public:
                Vector(double xx = 0, double yy = 0, double zz = 0);
-               Vector(Vector tail, Vector head);               // Create vector from two points
+               Vector(Vector tail, Vector head);       // Create vector from two points
+               Vector(const Vector &v);
                void SetAngleAndLength(double angle, double length);
                Vector operator=(Vector const v);
                Vector operator+(Vector const v);
@@ -40,8 +41,8 @@ class Vector
                Vector& operator-=(Vector const v);     // Vector minus Vector self-assignment
                Vector& operator-=(double const v);     // Vector minus constant self-assignment
 
-               bool operator==(Vector const v);                // Check for equality
-               bool operator!=(Vector const v);                // Check for inequality
+               bool operator==(Vector const v);        // Check for equality
+               bool operator!=(Vector const v);        // Check for inequality
 
                Vector Unit(void);
                double Magnitude(void);