#include <cl.h>
Data Fields | |
GLfloat | x |
GLfloat | y |
GLfloat | z |
CLvertex
struct defines a point in the 3D cartesian coordinate space. It can be passed to the OpenGL glVertex()
function by casting to a GLfloat*
.
CLvertex vertex = {-1.0f, -1.0f, 10.0f}
glVertex3fv((GLfloat*)&vertex);
For more information consult the OpenGL documentation for glVertex()
.
Definition at line 252 of file cl.h.