Pass:setWinding

Edit

Sets whether vertices in the clockwise or counterclockwise order vertices are considered the "front" face of a triangle. This is used for culling with Pass:setCullMode.

Pass:setWinding(winding)

Arguments

NameTypeDescription
windingWinding Whether triangle vertices are ordered clockwise or counterclockwise.

Returns

Nothing

Notes

The default winding is counterclockwise. LÖVR's builtin shapes are wound counterclockwise.

See also