CLnormal Struct Reference

Defines a 3D normal (i, j, k). More...

#include <cl.h>


Data Fields

GLfloat i
GLfloat j
GLfloat k


Detailed Description

The CLnormal struct defines a vector in the 3D cartesian coordinate space. It can be passed to the OpenGL glNormal() function by casting to a GLfloat*.

Example

  CLnormal normal = {0.0f, 0.0f, 1.0f};

  glNormal3fv((GLfloat*)&normal);
  

For more information on consult the OpenGL documentation for glNormal().

Definition at line 276 of file cl.h.


Generated on Thu Dec 27 13:53:41 2007 for CL by  doxygen 1.4.6