Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7939 in orxonox.OLD for branches/gui/src/lib/math


Ignore:
Timestamp:
May 28, 2006, 10:53:10 PM (19 years ago)
Author:
bensch
Message:

gui: Silder Works perfectly

Location:
branches/gui/src/lib/math
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/math/vector.h

    r7711 r7939  
    3232//! this is a small and performant 3D vector
    3333typedef float sVec3D[3];
    34 
    35 
    36 //! small and performant 2D vector
    37 typedef float sVec2D[2];
    38 
    3934
    4035
  • branches/gui/src/lib/math/vector2D.h

    r7919 r7939  
    9393  void slerp(const Vector2D& v, float val) { *this += (*this - v) * val; }
    9494
     95  /** @returns a Vector of (0,0) */
     96  static const Vector2D& nullVector() { static Vector2D nullVector; return nullVector; };
     97
    9598  void debug() const;
    9699
Note: See TracChangeset for help on using the changeset viewer.