Free Electron
|
Partially specialized 4-component vector intended for spatial use. More...
#include <Vector4.h>
Public Member Functions | |
Vector (const Vector< 4, T > &other) | |
template<typename U > | |
Vector (const Vector< 4, U > &other) | |
Vector (const Vector< 3, T > &other) | |
template<typename U > | |
Vector (const Vector< 3, U > &other) | |
Vector (const Vector< 2, T > &other) | |
template<typename U > | |
Vector (const Vector< 2, U > &other) | |
Vector (const T *array) | |
Vector (T x, T y, T z=T(0), T w=T(0)) | |
Vector< 4, T > & | operator= (const Vector< 4, T > &other) |
template<typename U > | |
Vector< 4, T > & | operator= (const Vector< 4, U > &other) |
Vector< 4, T > & | operator= (const Vector< 3, T > &other) |
template<typename U > | |
Vector< 4, T > & | operator= (const Vector< 3, U > &other) |
Vector< 4, T > & | operator= (const Vector< 2, T > &other) |
template<typename U > | |
Vector< 4, T > & | operator= (const Vector< 2, U > &other) |
Vector< 4, T > & | operator= (const T *array) |
const T & | operator[] (U32 index) const |
T & | operator[] (U32 index) |
Access internal component. More... | |
Vector< 4, T > & | set4 (T x=T(0), T y=T(0), T z=T(0), T w=T(0)) |
void | get4 (T array[4]) |
const Raw | temp (void) const |
Protected Attributes | |
T | m_data [4] |
Partially specialized 4-component vector intended for spatial use.
|
inline |
Access internal component.
Warning, this provides internal access and should be limited to immediate use only.