Changeset 8035 in orxonox.OLD for trunk/src/lib/math/vector.h
- Timestamp:
- May 31, 2006, 4:20:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/math/vector.h
r7711 r8035 32 32 //! this is a small and performant 3D vector 33 33 typedef float sVec3D[3]; 34 35 36 //! small and performant 2D vector37 typedef float sVec2D[2];38 39 34 40 35 … … 101 96 inline void slerpTo(const Vector& toVec, float t) { *this + (toVec - *this) * t; }; 102 97 98 /** @returns a Null Vector */ 99 inline static const Vector& nullVector() { static Vector nullVector; return nullVector; } 103 100 void debug() const; 104 101
Note: See TracChangeset
for help on using the changeset viewer.