[][src]Function ncollide3d::procedural::cuboid

pub fn cuboid<N: RealField>(extents: &Vector<N>) -> TriMesh<N>

Generates a cuboid shape with a split index buffer.

Arguments:

  • extents - the extents of the cuboid.