#include <LeapUtilGL.h>
Public Member Functions | |
GLVector4fv () | |
GLVector4fv (float _x, float _y, float _z, float _w=1.0f) | |
GLVector4fv (const Leap::Vector &vRHS, float _w=1.0f) | |
operator const GLfloat * () const | |
Static Public Member Functions | |
static const GLVector4fv & | One () |
Public Attributes | |
GLfloat | w |
GLfloat | x |
GLfloat | y |
GLfloat | z |
convenience structure for easy conversion from Leap::Vector to const float* vector passed to OpenGL fv functions. convert using Leap::Vector::ToVector4<GLVector4fv>() can also be used when 3 or 4 floating point values are expected.
Definition at line 61 of file LeapUtilGL.h.
LeapUtilGL::GLVector4fv::GLVector4fv | ( | ) | [inline] |
Definition at line 63 of file LeapUtilGL.h.
LeapUtilGL::GLVector4fv::GLVector4fv | ( | float | _x, |
float | _y, | ||
float | _z, | ||
float | _w = 1.0f |
||
) | [inline] |
Definition at line 64 of file LeapUtilGL.h.
LeapUtilGL::GLVector4fv::GLVector4fv | ( | const Leap::Vector & | vRHS, |
float | _w = 1.0f |
||
) | [inline] |
Definition at line 65 of file LeapUtilGL.h.
static const GLVector4fv& LeapUtilGL::GLVector4fv::One | ( | ) | [inline, static] |
Definition at line 66 of file LeapUtilGL.h.
LeapUtilGL::GLVector4fv::operator const GLfloat * | ( | ) | const [inline] |
Definition at line 67 of file LeapUtilGL.h.
GLfloat LeapUtilGL::GLVector4fv::w |
Definition at line 69 of file LeapUtilGL.h.
GLfloat LeapUtilGL::GLVector4fv::x |
Definition at line 69 of file LeapUtilGL.h.
GLfloat LeapUtilGL::GLVector4fv::y |
Definition at line 69 of file LeapUtilGL.h.
GLfloat LeapUtilGL::GLVector4fv::z |
Definition at line 69 of file LeapUtilGL.h.