diff options
author | neoraider <devnull@localhost> | 2008-05-18 15:22:02 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-05-18 15:22:02 +0200 |
commit | 094c72221ea15615b4bcdc31a4acbb4e5c67817a (patch) | |
tree | 028374bdd94d789c23627af20c4eb385cb8186c9 /src/Data/Vector.h | |
parent | 36d892d1f0f0a919e70f81abddaeb568f1f7625c (diff) | |
download | zoomedit-094c72221ea15615b4bcdc31a4acbb4e5c67817a.tar zoomedit-094c72221ea15615b4bcdc31a4acbb4e5c67817a.zip |
zoomedit:
* Removed unused vector maths
* Added missing const to set*-methods in Triangle
Diffstat (limited to 'src/Data/Vector.h')
-rw-r--r-- | src/Data/Vector.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/Data/Vector.h b/src/Data/Vector.h index cfac1c0..ded0834 100644 --- a/src/Data/Vector.h +++ b/src/Data/Vector.h @@ -39,31 +39,6 @@ class Vector { float getZ() const {return z;} void setZ(float z0) {z = z0;} - - float lengthSq() const; - float length() const; - - void normalize() { - if(lengthSq()) - *this /= length(); - } - - Vector operator+(const Vector &v) const; - Vector operator-(const Vector &v) const; - float operator*(const Vector &v) const; - - Vector operator*(float f) const; - Vector operator/(float f) const; - - Vector operator%(const Vector &v) const; - - Vector& operator+=(const Vector &v); - Vector& operator-=(const Vector &v); - - Vector& operator*=(float f); - Vector& operator/=(float f); - - Vector& operator%=(const Vector &v); }; } |