normal()
Lights Camera / LightsDescription
Sets the current normal vector. Used to specify the surface orientation for lighting calculations.
Syntax
void normal(float nx, float ny, float nz)
Parameters
| Name | Type | Description |
|---|---|---|
| nx | float | x component of normal |
| ny | float | y component of normal |
| nz | float | z component of normal |
Returns
voidRelated
Under the Hood
From Processing.h:
void normal(float nx, float ny, float nz);
Under the Hood
From Processing.cpp:
void PApplet::normal(float nx, float ny, float nz) { glNormal3f(nx, ny, nz); }