fix curvature computation error

This commit is contained in:
papush! 2021-11-25 14:58:47 +01:00
parent 638511ebdb
commit b6b07e3260

View File

@ -14,7 +14,10 @@ public:
OpenMesh::VPropHandleT<double> vprop_H;
OpenMesh::VPropHandleT<QuadPatch> vprop_quad;
Courbures(MyMesh &mesh) : _mesh(mesh) {}
Courbures(MyMesh &mesh) : _mesh(mesh) {
_mesh.request_vertex_normals();
_mesh.update_normals();
}
void set_fixed_colors();
void normales_locales();