Function ncollide::procedural::unit_cuboid
[−]
[src]
pub fn unit_cuboid<N>() -> TriMesh<PointBase<N, U3, MatrixArray<N, U3, U1>>> where N: Real
Generates a cuboid shape with a split index buffer.
The cuboid is centered at the origin, and has its half extents set to 0.5.