Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 549 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 549 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

Screenshot

Basic Shapes Example

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.