Oxygine  1
2g game engine
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
oxygine::VectorT4< T > Class Template Reference

Public Member Functions

 VectorT4 (const T *)
 
 VectorT4 (const VectorT3< T > &, const T &)
 
 VectorT4 (const T &, const T &, const T &, const T &)
 
VectorT4operator+= (const VectorT4 &)
 
VectorT4operator-= (const VectorT4 &)
 
VectorT4 operator+ (const VectorT4 &) const
 
VectorT4 operator- (const VectorT4 &) const
 
VectorT4operator*= (T)
 
VectorT4operator/= (T)
 
VectorT4 operator* (T) const
 
VectorT4 operator/ (T) const
 
VectorT3< T > xyz () const
 
T & operator[] (int i)
 
const T & operator[] (int i) const
 
 operator T* () const
 
 operator const T * () const
 

Static Public Member Functions

static T dot (const VectorT4 &v1, const VectorT4 &v2)
 
static VectorT4planeFromPoints (VectorT4 *pOut, const vector3 &v1, const vector3 &v2, const vector3 &v3)
 

Public Attributes

union {
   struct {
      T   x
 
      T   y
 
      T   z
 
      T   w
 
   } 
 
   T   m [4]
 
}; 
 

Friends

template<typename D >
D & operator<< (D &os, VectorT4< T > *p)
 
template<typename D >
D & operator<< (D &os, VectorT4< T > &p)
 

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