|
| Vector4 () |
| Public constructor. More...
|
|
| Vector4 (const Vector4 &v) |
| Public constructor. More...
|
|
| Vector4 (const Vector3 &v, float w) |
| Public constructor. More...
|
|
| Vector4 (float x, float y, float z, float w) |
| Public constructor. More...
|
|
| Vector4 (const array< float, 4 > &v) |
| Public constructor. More...
|
|
Vector4 & | set (float x, float y, float z, float w) |
| Set up vector. More...
|
|
Vector4 & | set (const array< float, 4 > &v) |
| Set up vector. More...
|
|
Vector4 & | set (const Vector4 &v) |
| Set up vector. More...
|
|
Vector4 & | set (const Vector3 &v, float w) |
| Set up vector. More...
|
|
float | getX () const |
|
Vector4 & | setX (float x) |
| set X More...
|
|
float | getY () const |
|
Vector4 & | setY (float y) |
| set Y More...
|
|
float | getZ () const |
|
Vector4 & | setZ (float z) |
| Set Z. More...
|
|
float | getW () const |
|
Vector4 & | setW (float w) |
| Set W. More...
|
|
Vector4 & | add (const Vector4 &v) |
| Adds a vector. More...
|
|
Vector4 & | sub (const Vector4 &v) |
| Subtracts a vector. More...
|
|
Vector4 & | scale (float scale) |
| Scale this vector. More...
|
|
Vector4 & | scale (const Vector4 &scale) |
| Scale this vector. More...
|
|
float & | operator[] (int i) |
| Array access operator. More...
|
|
const float & | operator[] (int i) const |
| Const array access operator. More...
|
|
Vector4 | operator+ (const Vector4 &v) const |
| Operator +. More...
|
|
Vector4 | operator- (const Vector4 &v) const |
| Operator -. More...
|
|
Vector4 | operator* (const float f) const |
| Operator * (float) More...
|
|
Vector4 | operator* (const Vector4 &v) const |
| Operator * (Vector4&) More...
|
|
Vector4 | operator/ (const float f) const |
| Operator / (f) More...
|
|
Vector4 | operator/ (const Vector4 &v) const |
| Operator / (Vector4&) More...
|
|
Vector4 & | operator+= (const Vector4 &v) |
| Operator +=. More...
|
|
Vector4 & | operator-= (Vector4 &v) |
| Operator -=. More...
|
|
Vector4 & | operator*= (Vector4 &v) |
| Operator *=. More...
|
|
Vector4 & | operator/= (Vector4 &v) |
| Operator /=. More...
|
|
Vector4 & | operator*= (const float f) |
| Operator *=. More...
|
|
Vector4 & | operator/= (const float f) |
| Operator /=. More...
|
|
bool | operator== (const Vector4 &v) const |
| Equality comparison operator. More...
|
|
bool | operator!= (const Vector4 &v) const |
| Non equality comparison operator. More...
|
|
array< float, 4 > & | getArray () const |
|
Vector4 | clone () const |
| Clones the vector. More...
|
|
bool | equals (const Vector4 &v) const |
| Compares this vector with given vector. More...
|
|
bool | equals (const Vector4 &v, float tolerance) const |
| Compares this vector with given vector. More...
|
|
3D vector 4 class
- Author
- Andreas Drewke
- Version
- $Id$
Definition at line 18 of file Vector4.h.