#include <gl_util.H>
Public Member Functions | |
operator GLfloat * () | |
Define implicit cast from float2 to GLfloat*:. | |
Constructors | |
float2 (CXYpt &p) | |
float2 (CXYvec &v) | |
float2 (CNDCpt &p) | |
float2 (CNDCvec &v) | |
float2 (CPIXEL &p) | |
float2 (CVEXEL &v) | |
float2 (CUVpt &p) | |
float2 (CUVvec &v) | |
Private Attributes | |
GLfloat | _data [2] |
Examples:
// Send a PIXEL to a GLSL shader PIXEL p; glUniform2fv(float2(p));
Definition at line 131 of file gl_util.H.
|
Definition at line 135 of file gl_util.H. References _data. |
|
Definition at line 139 of file gl_util.H. References _data. |
|
Definition at line 143 of file gl_util.H. References _data. |
|
Definition at line 147 of file gl_util.H. References _data. |
|
Definition at line 151 of file gl_util.H. References _data. |
|
Definition at line 155 of file gl_util.H. References _data. |
|
Definition at line 159 of file gl_util.H. References _data. |
|
Definition at line 163 of file gl_util.H. References _data. |
|
Define implicit cast from float2 to GLfloat*:.
Definition at line 170 of file gl_util.H. References _data. |
|
Definition at line 173 of file gl_util.H. Referenced by float2(), and operator GLfloat *(). |