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

Function tri_plane

perro_source/render_stack/perro_meshlets/src/lib.rs:613–622  ·  view source on GitHub ↗
(vertices: &[LodVertex], tri: [u32; 3])

Source from the content-addressed store, hash-verified

611 }
612 self.selected_collapses.clear();
613 self.selected_collapses.reserve(tri_capacity / 4);
614 }
615}
616
617fn ranked_collapses(
618 vertices: &[LodVertex],
619 triangles: &[[u32; 3]],
620 quadrics: &[[f64; 10]],
621 edges: &[EdgeCandidate],
622 adjacency: &[Vec<usize>],
623 tri_normals: &[Option<[f32; 3]>],
624 metric: SimplifyMetric,
625) -> Vec<Collapse> {

Callers 1

build_vertex_quadricsFunction · 0.85

Calls 5

sub3Function · 0.70
normalize3Function · 0.70
cross3Function · 0.70
dot3Function · 0.70
getMethod · 0.45

Tested by

no test coverage detected