Trait ncollide_transformation::ToTriMesh [] [src]

pub trait ToTriMesh<P: Point, I> {
    fn to_trimesh(&self, i: I) -> TriMesh<P>;
}

Trait implemented by shapes that can be approximated by a triangle mesh.

Required Methods

fn to_trimesh(&self, i: I) -> TriMesh<P>

Builds a triangle mesh from this shape.

Arguments:

  • i - the discretization parameters.

Implementors