pub fn calculate_normals(mesh: &mut Mesh)Expand description
Calculate smooth normals for a mesh.
One real implementation on every target. This used to be a no-op on native (a leftover of the decommissioned desktop IPC path, which recomputed normals in JS): the server silently shipped EMPTY normal buffers for brep/surface/swept meshes, which the parquet writer zero-padded and the glTF exporter dropped — while the same model loaded via wasm had real normals (alignment audit).