Function mod3d_base::example_objects::triangle::mesh

source ยท
pub fn mesh(v_id: ShortIndex, m_id: ShortIndex) -> Mesh
Expand description

Create a mesh for the triangle given the vertices index and material index within a parent model3d::Object

The object should have had the vertices for the triangle (created with new() above) added to it (using a parent ExampleVertices)