#include <Utils.h>
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 | |
GPVector & | operator= (const GPVector &a) |
GPVector & | operator= (const F32vec4 &a) |
GPVector & | operator= (const __m128 &a) |
GPVector & | operator= (const GPVector3 &) |
float & | operator() (int i) |
float & | operator[] (int i) |
float & | operator[] (int i) const |
GPVector & | operator *= (const GPMatrix &) |
GPVector & | operator *= (const float) |
GPVector & | operator+= (const GPVector &) |
GPVector & | operator-= (const GPVector &) |
float | Length () |
GPVector & | Normalize () |
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 &) |
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] |
GPVector::operator __m128 | ( | ) | const [inline] |
GPVector::operator F32vec4 | ( | ) | const [inline] |
GPVector& GPVector::operator= | ( | const F32vec4 & | a | ) | [inline] |
GPVector& GPVector::operator= | ( | const __m128 & | a | ) | [inline] |
float& GPVector::operator() | ( | int | i | ) | [inline] |
float& GPVector::operator[] | ( | int | i | ) | [inline] |
float& GPVector::operator[] | ( | int | i | ) | const [inline] |
GPVector & GPVector::operator *= | ( | const | float | ) | [inline] |
float GPVector::Length | ( | ) | [inline] |
GPVector & GPVector::Normalize | ( | ) | [inline] |
__m128 GPVector::vec |
float GPVector::x |
float GPVector::y |
float GPVector::z |
float GPVector::w |
union { ... } |