bbox

Function bbox 

Source
pub fn bbox(positions: &[f32]) -> ([f32; 3], [f32; 3])
Expand description

Axis-aligned bounds (min, max); ([inf;3], [-inf;3]) when empty.

NaN is explicit, never silently skipped (f32::min would drop it and hide a corrupt mesh from the oracle): an axis holding any NaN coordinate reports NaN for both its min and max, so a following comparison fails loudly.