|
| Vector4 (const float rawArray[]) |
|
| Vector4 (float xyzw) |
|
| Vector4 (float x, float y, float z, float w) |
|
| Vector4 (const Vector2 &xy, float z, float w) |
|
| Vector4 (const Vector3 &xyz, float w) |
|
| Vector4 (const Vector4 &other) |
|
| Vector4 (__m128 v) |
|
void * | operator new (size_t _size) |
|
void | operator delete (void *p) |
|
| operator __m128 (void) const |
|
Vector4 | operator+ (float s) const |
| Adds all elements in this Vector4 by a given scalar This operation returns a new Vector4. More...
|
|
Vector4 | operator- (float s) const |
| Subtracts all elements in this Vector4 by a given scalar This operation returns a new Vector4. More...
|
|
Vector4 | operator* (float s) const |
| Multiplies all elements in this Vector4 by a given scalar This operation affects the elements in this Vector4. More...
|
|
Vector4 | operator/ (float s) const |
| Divides all elements in this Vector4 by a given scalar This operation returns a new Vector4. More...
|
|
Vector4 & | operator+= (float s) |
| Adds all elements in this Vector4 by a given scalar This operation affects the elements in this Vector4. More...
|
|
Vector4 & | operator-= (float s) |
| Subtracts all elements in this Vector4 by a given scalar This operation affects the elements in this Vector4. More...
|
|
Vector4 & | operator*= (float s) |
| Multiplies all elements in this Vector4 by a given scalar This operation affects the elements in this Vector4. More...
|
|
Vector4 & | operator/= (float s) |
| Divides all of the elements from this vector by a given scalar This operation affects the elements in this Vector4. More...
|
|
bool | operator== (const Vector4 &u) const |
| Compares the values of this Vector4 to another given Vector4. More...
|
|
bool | operator!= (const Vector4 &u) const |
| Compares the values of this Vector4 to another given Vector4. More...
|
|
Vector4 | operator+ (const Vector4 &u) const |
| Adds all of the elements from a given vector to this one. More...
|
|
Vector4 | operator- (const Vector4 &u) const |
| Subtracts all of the elements from this vector by a given vector. More...
|
|
Vector4 | operator* (const Vector4 &u) const |
| Executes memberwise multiplication on this Vector4. More...
|
|
Vector4 | operator/ (const Vector4 &u) const |
| Executes memberwise division on this Vector4. More...
|
|
Vector4 & | operator+= (const Vector4 &u) |
| Adds all of the elements from a given vector to this one. More...
|
|
Vector4 & | operator-= (const Vector4 &u) |
| Subtracts all of the elements from this vector by a given one. More...
|
|
Vector4 & | operator*= (const Vector4 &u) |
| Multiplies all of the elements of this vector by a given one. More...
|
|
Vector4 & | operator/= (const Vector4 &u) |
| Divides all the elements of this vector by the elements of a given vector. More...
|
|
float & | operator[] (size_t i) |
| Fetches an element of this Vector at the index i. More...
|
|
const float & | operator[] (size_t i) const |
| Fetches an element of this Vector at the index i. More...
|
|
| operator Vector3 () const |
|
| operator Vector2 () const |
|
Vector4 | Normalized () const |
|
Vector4 | NormalizedEst () const |
|
float | Magnitude () const |
|
float | MagnitudeSqr () const |
|
Float4 | ToFloat4 () const |
| Stores values from SIMD registers into Float4. More...
|
|
| Vector4 () |
| Create a Vector4 with all 4 elements being 0.
|
|
| Vector4 (float x, float y, float z, float w) |
| Create a Vector4 with the elements x, y and z.
|
|
| Vector4 (const Vector4 &other) |
| Create a copy of an existing Vector4.
|
|
| Vector4 (Vector3 &v3, float w) |
| Create a Vector4 with the first three elements of a given Vector3 and a fourth given float w.
|
|
void * | operator new (size_t _size) |
| Allocate a 16byte aligned array of Vector4s.
|
|
void | operator delete (void *p) |
| Delete an array of Vector4s.
|
|
| operator const __m128 (void) const |
| Cast Vector4's SSE intrinsic to __m128.
|
|
float | magSqr () |
|
float | mag () |
| Returns the magnitude of the vector. More...
|
|
Vector4 | normalized () |
| Normalizes a Vector4. More...
|
|
float * | getAsArray () |
| Returns this Vector4 as a pointer to an array of floats. More...
|
|
Vector4 | operator* (float s) |
| Multiplies all elements in this Vector4 by a given scalar This operation returns a new Vector4. More...
|
|
Vector4 | operator/ (float s) |
| Divides all elements in this Vector4 by a given scalar This operation returns a new Vector4. More...
|
|
Vector4 | operator- (float s) |
| Subtracts all elements in this Vector4 by a given scalar This operation returns a new Vector4. More...
|
|
Vector4 | operator+ (float s) |
| Adds all elements in this Vector4 by a given scalar This operation returns a new Vector4. More...
|
|
Vector4 | operator*= (float s) |
| Multiplies all elements in this Vector4 by a given scalar This operation affects the elements in this Vector4. More...
|
|
Vector4 | operator/= (float s) |
| Divides all elements in this Vector4 by a given scalar This operation affects the elements in this Vector4. More...
|
|
Vector4 | operator-= (float s) |
| Subtracts all elements in this Vector4 by a given scalar This operation affects the elements in this Vector4. More...
|
|
Vector4 | operator+= (float s) |
| Adds all elements in this Vector4 by a given scalar This operation affects the elements in this Vector4. More...
|
|
bool | operator> (Vector4 u) |
| Compares the magnitue of this Vector4 to another given Vector4. More...
|
|
bool | operator< (Vector4 u) |
| Compares the magnitue of this Vector4 to another given Vector4. More...
|
|
bool | operator== (Vector4 u) |
| Compares the values of this Vector4 to another given Vector4. More...
|
|
bool | operator!= (Vector4 u) |
| Compares the values of this Vector4 to another given Vector4. More...
|
|
float | operator* (Vector4 u) |
| Executes the Dot product this Vector4 and another as this * other. More...
|
|
Vector4 | operator+ (Vector4 u) |
| Adds all of the elements from a given vector to this one. More...
|
|
Vector4 | operator- (Vector4 u) |
| Subtracts all of the elements from this vector by a given vector. More...
|
|
Vector4 | operator+= (Vector4 u) |
| Adds all of the elements from a given vector to this one. More...
|
|
Vector4 | operator-= (Vector4 u) |
| Subtracts all of the elements from this vector by a given one. More...
|
|
float & | operator[] (int i) |
| Fetches an element of this Vector at the index i. More...
|
|
| operator Vector3 () |
| Returns a Vector3 with the first three elements from this vector and the last one being 0.
|
|
| operator Vector2 () |
| Returns a Vector2 with the fist two elements from this vector.
|
|