#include <gl_util.H>
Public Member Functions | |
operator GLfloat * () | |
Define implicit cast from float3 to GLfloat*:. | |
Constructors | |
float3 (CWpt &p) | |
float3 (CWvec &v) | |
float3 (CNDCZpt &p) | |
float3 (CNDCZvec &v) | |
float3 (CCOLOR &c) | |
Private Attributes | |
GLfloat | _data [3] |
Examples:
// Send a Wvec to a GLSL shader Wvec v; glUniform3fv(float3(v));
Definition at line 82 of file gl_util.H.
|
Definition at line 86 of file gl_util.H. References _data. |
|
Definition at line 91 of file gl_util.H. References _data. |
|
Definition at line 96 of file gl_util.H. References _data. |
|
Definition at line 101 of file gl_util.H. References _data. |
|
Definition at line 106 of file gl_util.H. References _data. |
|
Define implicit cast from float3 to GLfloat*:.
Definition at line 114 of file gl_util.H. References _data. |
|
Definition at line 117 of file gl_util.H. Referenced by float3(), and operator GLfloat *(). |