SDLPP::Vec2< T > Struct Template Reference

List of all members.

Public Types

typedef Vec2< T > self

Public Member Functions

 Vec2 (const Vec2 &v)
 Vec2 (const T t)
 Vec2 (const T _x=0, const T _y=0)
 Vec2 (const T *t)
const T & operator[] (const int i) const
T & operator[] (const int i)
selfoperator+= (const self &v)
selfoperator-= (const self &v)
selfoperator*= (const self &v)
selfoperator*= (const T &s)
selfoperator/= (const self &v)
selfoperator/= (const T &s)
const selfoperator+ () const
self operator- () const
square_magnitude () const
double magnitude () const
self normalized () const
selfnormalize ()

Static Public Member Functions

static const self Zero ()

Public Attributes

x
y

template<class T>
struct SDLPP::Vec2< T >


The documentation for this struct was generated from the following file:
Generated on Wed May 26 17:41:02 2010 for SDLPP by  doxygen 1.6.3