|
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 &) |