#include <Vector4.h>
Public Member Functions | |
Vector4 () | |
Vector4 (T x, T y, T z, T w) | |
bool | operator== (const Vector4 &vector) const |
Vector4< T > | operator+ (const Vector4 &vector) const |
Vector4< T > & | operator+= (const Vector4 &vector) |
Vector4< T > | negative () const |
const char * | toString () |
Public Attributes | |
T | x |
T | y |
T | z |
T | w |
Static Public Attributes | |
static const Vector4 | UNIT_ZERO |
math::Vector4< T >::Vector4 | ( | ) |
Constructor
math::Vector4< T >::Vector4 | ( | T | x, | |
T | y, | |||
T | z, | |||
T | w | |||
) |
Constructor
bool math::Vector4< T >::operator== | ( | const Vector4< T > & | vector | ) | const |
Vectors comparison
vector | The outside vector |
Vector4<T> math::Vector4< T >::operator+ | ( | const Vector4< T > & | vector | ) | const |
Vectors operation
vector | The outside vector |
Vector4<T>& math::Vector4< T >::operator+= | ( | const Vector4< T > & | vector | ) |
Vectors attribution
vector | The outside vector |
Vector4<T> math::Vector4< T >::negative | ( | ) | const |
Negate the vector values
const char* math::Vector4< T >::toString | ( | ) | [inline, virtual] |
const Vector4 math::Vector4< T >::UNIT_ZERO [static] |
Predefined vector property
T math::Vector4< T >::x |
x value
T math::Vector4< T >::y |
y value
T math::Vector4< T >::z |
z value
T math::Vector4< T >::w |
w value