Trait ncollide_transformation::ToPolyline [] [src]

pub trait ToPolyline<P: Point, I> {
    fn to_polyline(&self, i: I) -> Polyline<P>;
}

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

Required Methods

fn to_polyline(&self, i: I) -> Polyline<P>

Builds a triangle mesh from this shape.

Arguments:

  • i - the discretization parameters.

Implementors