Sets whether or not polygons are considered front-facing based on their winding direction.
- mode [in]
Sets orientation of front-facing polygons.
Initial value. Counterclockwise winding.
This method does not return a value.
|gl.INVALID_ENUM||Mode is not CW or CCW.|
A polygon has a clockwise winding if an imaginary object following a path moves in a clockwise direction from the first vertex, second vertex, and so forth, to the last vertex, and then back to the first vertex. It's counterclockwise winding if it moves in the opposite direction.