Function ncollide_procedural::cuboid [] [src]

pub fn cuboid<N>(extents: &Vec3<N>) -> TriMesh<Pnt3<N>> where N: Scalar

Generates a cuboid shape with a split index buffer.

Arguments:

  • extents - the extents of the cuboid.