Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 494 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 494 Bytes

Basic Shapes Example

This example demonstrates how to create and visualize basic 3D shapes using the tessellate library.

Shapes Included

  • Cube
  • Sphere
  • Cone
  • Icosahedron
  • Ring
  • Cylinder
  • Pyramid
  • Torus

How to Run

To run this example, use the following command:

cargo run --example basic_shapes

Notes

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.