Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
LeapUtilGL::GLVector4fv Struct Reference

#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 GLVector4fvOne ()
 

Public Attributes

GLfloat w
 
GLfloat x
 
GLfloat y
 
GLfloat z
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Member Function Documentation

static const GLVector4fv& LeapUtilGL::GLVector4fv::One ( )
inlinestatic

Definition at line 66 of file LeapUtilGL.h.

LeapUtilGL::GLVector4fv::operator const GLfloat * ( ) const
inline

Definition at line 67 of file LeapUtilGL.h.

Member Data Documentation

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.


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


leap_motion
Author(s): Florian Lier , Mirza Shah , Isaac IY Saito
autogenerated on Tue Jun 2 2020 03:58:01