Module triangle

Source
Expand description

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

Functionsยง

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