fix smoothing

This commit is contained in:
papush! 2022-01-05 15:55:07 +01:00
parent 810ddaee03
commit 9aac4d09e6

View File

@ -132,7 +132,7 @@ void smooth(MyMesh &mesh, SmoothingMethod method, double cotan_factor) {
laplacian = laplacian_matrix(mesh, uniform_weight, uniform_mass);
}
laplacian = laplacian * laplacian; // Mise au carré.
// laplacian = laplacian * laplacian; // Mise au carré.
// Transfert des coordonées de chaque point dans une matrice.
size_t n_verts = mesh.n_vertices();