Skip to main content

warn_if_not_triangles

Function warn_if_not_triangles 

Source
fn warn_if_not_triangles(
    primitive: &Primitive<'_>,
    mesh_name: Option<&str>,
    index: usize,
)
Available on crate feature gltf only.
Expand description

Warns when a primitive’s drawing mode is not TRIANGLES (its indices are imported as-is; no re-triangulation happens in the POC).