Low-level math utilities for the rendering pipeline.
The Mesh — the central data structure for 3D geometry in scimesh.
void compute_vertex_normals(const Mesh &mesh, std::vector< Vec3 > &normals)
Compute per-vertex normals by averaging adjacent face normals.