Function MeshUtility.MakeTrianglesClockwise
MakeTrianglesClockwise
(refUnsafeSpan<Int3> vertices, refUnsafeSpan<int> triangles)
Flips triangles such that they are all clockwise in graph space.
Public
Static
void MakeTrianglesClockwise (
refUnsafeSpan<Int3> | vertices | |
refUnsafeSpan<int> | triangles |
Flips triangles such that they are all clockwise in graph space.
The triangles may not be clockwise in world space since the graphs can be rotated.
The triangles array will be modified in-place.