pub fn compute_smooth_normals(
points: &[DVec3],
triangle_indices: &[u32],
) -> Vec<DVec3>Expand description
Compute smooth vertex normals from a triangle mesh.
Each face normal is weighted by the angle at the vertex before accumulation. The result is normalized per vertex. Degenerate triangles are skipped.