Winding order defines the order of vertices for a triangle to be considered front-facing.
Properties:
Name | Type | Description |
---|---|---|
CLOCKWISE |
Number | Vertices are in clockwise order. |
COUNTER_CLOCKWISE |
Number | Vertices are in counter-clockwise order. |
Members
Vertices are in clockwise order.
-
Default Value:
WebGLConstants.CW
Vertices are in counter-clockwise order.
-
Default Value:
WebGLConstants.CCW