ncollide3d/transformation/to_trimesh/to_trimesh.rs
use na::RealField;
use crate::procedural::TriMesh;
/// Trait implemented by shapes that can be approximated by a triangle mesh.
pub trait ToTriMesh<N: RealField + Copy> {
type DiscretizationParameter;
/// Builds a triangle mesh from this shape.
///
/// # Arguments:
/// * `i` - the discretization parameters.
fn to_trimesh(&self, i: Self::DiscretizationParameter) -> TriMesh<N>;
}