Parameters
C Specification
void glNormal3bv(const GLbyte * v);void glNormal3dv(const GLdouble * v);void glNormal3fv(const GLfloat * v);void glNormal3iv(const GLint * v);void glNormal3sv(const GLshort * v);
Parameters
Description
The current normal is set to the given coordinates whenever glNormal
is issued. Byte, short, or integer arguments are converted to floating-point format with a linear mapping that maps the most positive representable integer value to 1.0 and the most negative representable integer value to -1.0.
Normals specified with ...
Get OpenGL SuperBible: Comprehensive Tutorial and Reference, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.