pub fn gpu_edge_collapse(mesh: &mut GpuMesh, error_threshold: f32) -> usizeExpand description
Collapse edges whose midpoint error is below error_threshold.
Returns the number of removed vertices. Uses a simplified cost metric (edge length squared) as a proxy for the Quadric Error Metric.