![]() |
Leap C++ API Reference
0.7.9
|
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. | |
operator float * () | |
Use the Float Array anywhere a float pointer can be used. | |
float & | operator[] (unsigned int index) |
Access the elements of the float array exactly like a native array. | |
Public Attributes | |
float | m_array [16] |
An array containing up to 16 entries of the matrix. | |
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 Leap::FloatArray::m_array[16] |
An array containing up to 16 entries of the matrix.