Trait ncollide3d::transformation::ToTriMesh [−][src]
pub trait ToTriMesh<N: RealField> { type DiscretizationParameter; fn to_trimesh(&self, i: Self::DiscretizationParameter) -> TriMesh<N>; }
Trait implemented by shapes that can be approximated by a triangle mesh.
Associated Types
Loading content...Required methods
fn to_trimesh(&self, i: Self::DiscretizationParameter) -> TriMesh<N>
[src]
Implementors
impl<N: RealField> ToTriMesh<N> for Cone<N>
[src]
impl<N: RealField> ToTriMesh<N> for Cone<N>
[src]type DiscretizationParameter = u32
fn to_trimesh(&self, nsubdiv: u32) -> TriMesh<N>
[src]
impl<N: RealField> ToTriMesh<N> for Cuboid<N>
[src]
impl<N: RealField> ToTriMesh<N> for Cuboid<N>
[src]type DiscretizationParameter = ()
fn to_trimesh(&self, _: ()) -> TriMesh<N>
[src]
impl<N: RealField> ToTriMesh<N> for Cylinder<N>
[src]
impl<N: RealField> ToTriMesh<N> for Cylinder<N>
[src]type DiscretizationParameter = u32
fn to_trimesh(&self, nsubdiv: u32) -> TriMesh<N>
[src]
impl<N: RealField> ToTriMesh<N> for HeightField<N>
[src]
impl<N: RealField> ToTriMesh<N> for HeightField<N>
[src]type DiscretizationParameter = ()
fn to_trimesh(&self, _: ()) -> TriMesh<N>
[src]
impl<N: RealField> ToTriMesh<N> for Triangle<N>
[src]
impl<N: RealField> ToTriMesh<N> for Triangle<N>
[src]