[][src]Function tetra::graphics::get_front_face_winding

pub fn get_front_face_winding(ctx: &mut Context) -> VertexWinding

Returns whether clockwise or counter-clockwise ordered vertices are currently 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 via set_front_face_winding.