Module mod3d_base::example_objects::triangle

source ·
Expand description

This provides a function to create ExampleVertices object that is a triangle of a specified size at z=0

Functions§

  • Create a mesh for the triangle given the vertices index and material index within a parent model3d::Object
  • Add positions, normals and indices to an ExampleVertices for a flat upward-facing triangle on z=0 of a given size