Jagguar Game Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Vec2D Struct Reference

Public Member Functions

 Vec2D (float _x=0, float _y=0, float _w=0)
 
float & operator[] (int i)
 
const float & operator[] (int i) const
 
Vec2Doperator*= (float s)
 
Vec2Doperator/= (float s)
 
Vec2Doperator+= (const Vec2D &v)
 
Vec2Doperator-= (const Vec2D &v)
 

Public Attributes

union { 
 
   struct { 
 
      float   x 
 
      float   y 
 
      float   w 
 
   }  
 
   float   data [3] 
 
};  
 

The documentation for this struct was generated from the following file: