ncollide3d::procedural

Function cuboid

Source
pub fn cuboid<N: RealField + Copy>(extents: &Vector<N>) -> TriMesh<N>
Expand description

Generates a cuboid shape with a split index buffer.

ยงArguments:

  • extents - the extents of the cuboid.