Public Member Functions | Public Attributes
Leap::FloatArray Struct Reference

#include <LeapMath.h>

List of all members.

Public Member Functions

 operator const float * () const
 operator float * ()
float & operator[] (unsigned int index)

Public Attributes

float m_array [16]

Detailed Description

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.

Since:
1.0

Definition at line 617 of file LeapMath.h.


Member Function Documentation

Leap::FloatArray::operator const float * ( ) const [inline]

Use the Float Array anywhere a const float pointer can be used.

Since:
1.0

Definition at line 638 of file LeapMath.h.

Leap::FloatArray::operator float * ( ) [inline]

Use the Float Array anywhere a float pointer can be used.

Since:
1.0

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.

Since:
1.0

Definition at line 622 of file LeapMath.h.


Member Data Documentation

An array containing up to 16 entries of the matrix.

Since:
1.0

Definition at line 646 of file LeapMath.h.


The documentation for this struct was generated from the following file:


leap_motion
Author(s): Florian Lier , Mirza Shah , Isaac IY Saito
autogenerated on Sat Jun 8 2019 18:47:25