Changeset 7939 in orxonox.OLD for branches/gui/src/lib/math
- Timestamp:
- May 28, 2006, 10:53:10 PM (19 years ago)
- Location:
- branches/gui/src/lib/math
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/math/vector.h
r7711 r7939 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 -
branches/gui/src/lib/math/vector2D.h
r7919 r7939 93 93 void slerp(const Vector2D& v, float val) { *this += (*this - v) * val; } 94 94 95 /** @returns a Vector of (0,0) */ 96 static const Vector2D& nullVector() { static Vector2D nullVector; return nullVector; }; 97 95 98 void debug() const; 96 99
Note: See TracChangeset
for help on using the changeset viewer.