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

Function dist2_2

perro_source/render_stack/perro_meshlets/src/lib.rs:710–712  ·  view source on GitHub ↗
(a: [f32; 2], b: [f32; 2])

Source from the content-addressed store, hash-verified

708 remove: u32,
709 metric: SimplifyMetric,
710) -> f64 {
711 let Some(keep_v) = vertices.get(keep as usize) else {
712 return f64::INFINITY;
713 };
714 let Some(remove_v) = vertices.get(remove as usize) else {
715 return f64::INFINITY;

Callers 2

collapse_costFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected