Skip to main content

gpu_smooth_normals

Function gpu_smooth_normals 

Source
pub fn gpu_smooth_normals(mesh: &mut GpuMesh, n_iter: usize)
Expand description

Laplacian normal smoothing: average each vertex normal with its neighbours.

Runs n_iter passes.