The FloatArray struct is used to allow the returning of native float arrays without requiring dynamic memory allocation. More...
Public Member Functions | |
operator const float * () const | |
Use the Float Array anywhere a const float pointer can be used. More... | |
operator float * () | |
Use the Float Array anywhere a float pointer can be used. More... | |
float & | operator[] (unsigned int index) |
Access the elements of the float array exactly like a native array. More... | |
Public Attributes | |
float | m_array [16] |
An array containing up to 16 entries of the matrix. More... | |
The FloatArray struct is used to allow the returning of native float arrays without requiring dynamic memory allocation.
It represents a matrix with a size up to 4x4.
|
inline |
Use the Float Array anywhere a const float pointer can be used.
|
inline |
Use the Float Array anywhere a float pointer can be used.
|
inline |
Access the elements of the float array exactly like a native array.
float m_array[16] |
An array containing up to 16 entries of the matrix.