This example demonstrates how to create and visualize basic 3D shapes using the tessellate
library.
- Cube
- Sphere
- Cone
- Icosahedron
- Ring
- Cylinder
- Pyramid
- Torus
To run this example, use the following command:
cargo run --example basic_shapes
Every shape has a Default method that creates a shape with default parameters.
You can also create a shape with custom parameters by using the new
method.