GPVector Class Reference

#include <Utils.h>

List of all members.

Public Member Functions

 GPVector ()
 GPVector (const GPVector &v)
 GPVector (const __m128 &m)
 GPVector (const F32vec4 &m)
 GPVector (const float x, const float y, const float z, const float w=0.0f)
 operator __m128 () const
 operator F32vec4 () const
GPVectoroperator= (const GPVector &a)
GPVectoroperator= (const F32vec4 &a)
GPVectoroperator= (const __m128 &a)
GPVectoroperator= (const GPVector3 &)
float & operator() (int i)
float & operator[] (int i)
float & operator[] (int i) const
GPVectoroperator *= (const GPMatrix &)
GPVectoroperator *= (const float)
GPVectoroperator+= (const GPVector &)
GPVectoroperator-= (const GPVector &)
float Length ()
GPVectorNormalize ()

Public Attributes

union {
   __m128   vec
   struct {
      float   x
      float   y
      float   z
      float   w
   } 
}; 

Friends

GPVector operator * (const GPVector &, const GPMatrix &)
float operator * (const GPVector &, const GPVector &)
GPVector operator% (const GPVector &, const GPVector &)
GPVector operator * (const GPVector &, const float)
GPVector operator * (const float, const GPVector &)
GPVector operator+ (const GPVector &)
GPVector operator+ (const GPVector &, const GPVector &)
GPVector operator- (const GPVector &)
GPVector operator- (const GPVector &, const GPVector &)
GPVector operator~ (const GPVector &)


Constructor & Destructor Documentation

GPVector::GPVector (  )  [inline]

GPVector::GPVector ( const GPVector v  )  [inline]

GPVector::GPVector ( const __m128 &  m  )  [inline]

GPVector::GPVector ( const F32vec4 &  m  )  [inline]

GPVector::GPVector ( const float  x,
const float  y,
const float  z,
const float  w = 0.0f 
) [inline]


Member Function Documentation

GPVector::operator __m128 (  )  const [inline]

GPVector::operator F32vec4 (  )  const [inline]

GPVector& GPVector::operator= ( const GPVector a  )  [inline]

GPVector& GPVector::operator= ( const F32vec4 &  a  )  [inline]

GPVector& GPVector::operator= ( const __m128 &  a  )  [inline]

GPVector & GPVector::operator= ( const GPVector3  )  [inline]

float& GPVector::operator() ( int  i  )  [inline]

float& GPVector::operator[] ( int  i  )  [inline]

float& GPVector::operator[] ( int  i  )  const [inline]

GPVector & GPVector::operator *= ( const GPMatrix  )  [inline]

GPVector & GPVector::operator *= ( const   float  )  [inline]

GPVector & GPVector::operator+= ( const GPVector  )  [inline]

GPVector & GPVector::operator-= ( const GPVector  )  [inline]

float GPVector::Length (  )  [inline]

GPVector & GPVector::Normalize (  )  [inline]


Friends And Related Function Documentation

GPVector operator * ( const GPVector Vec,
const GPMatrix Mat 
) [friend]

float operator * ( const GPVector A,
const GPVector B 
) [friend]

GPVector operator% ( const GPVector A,
const GPVector B 
) [friend]

GPVector operator * ( const GPVector V,
const   float 
) [friend]

GPVector operator * ( const   float,
const GPVector V 
) [friend]

GPVector operator+ ( const GPVector A  )  [friend]

GPVector operator+ ( const GPVector A,
const GPVector B 
) [friend]

GPVector operator- ( const GPVector A  )  [friend]

GPVector operator- ( const GPVector A,
const GPVector B 
) [friend]

GPVector operator~ ( const GPVector V  )  [friend]


Member Data Documentation

__m128 GPVector::vec

float GPVector::x

float GPVector::y

float GPVector::z

float GPVector::w

union { ... }


The documentation for this class was generated from the following files:
Generated on Fri Jan 12 10:15:52 2007 for Path tracing coursework by  doxygen 1.5.1-p1