MeshSimplifier

Trait MeshSimplifier 

Source
pub trait MeshSimplifier {
    // Required method
    fn simplify(
        &self,
        mesh: &TriangleMesh,
        reduction_ratio: f32,
    ) -> Result<TriangleMesh>;
}
Expand description

Simplify a mesh by reducing the number of faces/vertices

Required Methods§

Source

fn simplify( &self, mesh: &TriangleMesh, reduction_ratio: f32, ) -> Result<TriangleMesh>

Simplify mesh with target reduction ratio (0.0 = no reduction, 1.0 = maximum reduction)

Implementors§