mesh_to_tris

Function mesh_to_tris 

Source
pub fn mesh_to_tris(m: &Mesh) -> Vec<Tri> ⓘ
Expand description

Mesh → the kernel’s triangle list (f32 → f64, snapped to the reconcile grid). Panic-free: an out-of-range index OR a non-finite (NaN/Inf) coord drops that triangle rather than indexing past the end or crashing BigRational::from_float deep in the predicates (the two empirically-found reachable panic sites).