Sets the current normal vector.
Sets the current normal vector. Used for drawing three dimensional shapes and surfaces,
normal() specifies a vector perpendicular to a shape’s surface which, in turn, determines how lighting affects it. Py5 attempts to automatically assign normals to shapes, but since that’s imperfect, this is a better option when you want more control. This function is identical to
gl_normal3f() in OpenGL.
Underlying Processing method: PGraphics.normal
normal( nx: float, # x direction ny: float, # y direction nz: float, # z direction /, ) -> None
Updated on September 01, 2022 14:08:27pm UTC