Public Member Functions | Static Public Member Functions | Public Attributes
LeapUtilGL::GLVector4fv Struct Reference

#include <LeapUtilGL.h>

List of all members.

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

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 ( ) [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.


Member Data Documentation

Definition at line 69 of file LeapUtilGL.h.

Definition at line 69 of file LeapUtilGL.h.

Definition at line 69 of file LeapUtilGL.h.

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 Sat Jun 8 2019 18:47:26