Skip to main content

cube

Function cube 

Source
pub fn cube<T: Number>(size: T) -> Csg<T>
Expand description

Create a cube (uniform cuboid) centered at the origin.

Use translate and transform methods to move it around.