Table of Contents

Enum JTriangle.CullMode

Namespace
Jitter2.LinearMath
Assembly
Jitter2.dll

Specifies the face culling mode for triangles based on their winding order. Counter-clockwise (CCW) winding is considered front-facing.

public enum JTriangle.CullMode

Fields

BackFacing = 1

Cull triangles that are back-facing. A triangle is back-facing if its vertices are ordered clockwise (CW). This is the most common culling mode.

FrontFacing = 0

Cull triangles that are front-facing. A triangle is front-facing if its vertices are ordered counter-clockwise (CCW).

None = 2

Do not perform face culling; both front- and back-facing triangles are processed.