Normal

The current normal is set to the given coordinates whenever Normal is issued.  Normals specified with Normal need not have unit length. If normalization is enabled, then normals specified with Normal are normalized after transformation. Normalization is controlled using Enable and Disable with the argument GL_NORMALIZE. By default, normalization is disabled.

Normal( nx, ny, nz );

Arguments  nx, ny, nz

The x, y, and z coordinates of the new current normal. The initial value of the current normal is (0,0,1).

The current normal can be updated at any time. In particular, Normal can be called between a call to Begin and the corresponding call to End.

See Also

Begin

glColor

End

Vertex