MCPcopy Create free account
hub / github.com/PerroEngine/Perro / normalize3

Function normalize3

perro_source/render_stack/perro_meshlets/src/lib.rs:701–708  ·  view source on GitHub ↗
(v: [f32; 3])

Source from the content-addressed store, hash-verified

699 }
700 }
701 }
702}
703
704fn collapse_cost(
705 vertices: &[LodVertex],
706 quadrics: &[[f64; 10]],
707 keep: u32,
708 remove: u32,
709 metric: SimplifyMetric,
710) -> f64 {
711 let Some(keep_v) = vertices.get(keep as usize) else {

Callers 2

tri_planeFunction · 0.70
tri_normalFunction · 0.70

Calls 2

length_squaredMethod · 0.45
to_arrayMethod · 0.45

Tested by

no test coverage detected