Module mesh

Source
Expand description

Reusable geometry with face normals for lit 3D scenes.

Structsยง

Mesh3d
Construct once and draw many times. Mesh dimensions are baked into vertices; draw transforms use only rotation/translation to keep normals correct.