[][src]Function tetra::graphics::set_front_face_winding

pub fn set_front_face_winding(ctx: &mut Context, winding: VertexWinding)

Sets whether clockwise or counter-clockwise ordered vertices should be considered front-facing.

Back-facing geometry will be culled (not rendered) by default.

The default winding order is counter-clockwise. This is correct for all of the geometry that Tetra generates, but if you are rendering a Mesh with clockwise ordered data, you will need to change this setting.