#include <LeapMath.h>
Public Member Functions | |
operator const float * () const | |
operator float * () | |
float & | operator[] (unsigned int index) |
Public Attributes | |
float | m_array [16] |
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.
Definition at line 617 of file LeapMath.h.
Leap::FloatArray::operator const float * | ( | ) | const [inline] |
Use the Float Array anywhere a const float pointer can be used.
Definition at line 638 of file LeapMath.h.
Leap::FloatArray::operator float * | ( | ) | [inline] |
Use the Float Array anywhere a float pointer can be used.
Definition at line 630 of file LeapMath.h.
float& Leap::FloatArray::operator[] | ( | unsigned int | index | ) | [inline] |
Access the elements of the float array exactly like a native array.
Definition at line 622 of file LeapMath.h.
float Leap::FloatArray::m_array[16] |
An array containing up to 16 entries of the matrix.
Definition at line 646 of file LeapMath.h.