Parameters

Image

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

Image

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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.