diff --git a/Polygon_mesh_processing/examples/Polygon_mesh_processing/compute_normals_example.cpp b/Polygon_mesh_processing/examples/Polygon_mesh_processing/compute_normals_example.cpp index c7e1fbdb21c..039c4320c84 100644 --- a/Polygon_mesh_processing/examples/Polygon_mesh_processing/compute_normals_example.cpp +++ b/Polygon_mesh_processing/examples/Polygon_mesh_processing/compute_normals_example.cpp @@ -29,8 +29,8 @@ int main(int argc, char* argv[]) return 1; } - auto vnormals = mesh.add_property_map("v:normals", CGAL::NULL_VECTOR).first; - auto fnormals = mesh.add_property_map("f:normals", CGAL::NULL_VECTOR).first; + auto vnormals = mesh.add_property_map("v:normal", CGAL::NULL_VECTOR).first; + auto fnormals = mesh.add_property_map("f:normal", CGAL::NULL_VECTOR).first; PMP::compute_normals(mesh, vnormals, fnormals); diff --git a/Polygon_mesh_processing/examples/Polygon_mesh_processing/extrude.cpp b/Polygon_mesh_processing/examples/Polygon_mesh_processing/extrude.cpp index aa7c2bd40ea..a6a76cc84cd 100644 --- a/Polygon_mesh_processing/examples/Polygon_mesh_processing/extrude.cpp +++ b/Polygon_mesh_processing/examples/Polygon_mesh_processing/extrude.cpp @@ -59,7 +59,7 @@ int main(int argc, char* argv[]) CGAL::IO::read_polygon_mesh(filename, in); - VNMap vnormals = in.template add_property_map("v:normals", CGAL::NULL_VECTOR).first; + VNMap vnormals = in.template add_property_map("v:normal", CGAL::NULL_VECTOR).first; CGAL::Polygon_mesh_processing::compute_vertex_normals(in, vnormals); Bottom bottom(get(CGAL::vertex_point,out), vnormals, vlen); diff --git a/Polygon_mesh_processing/test/Polygon_mesh_processing/pmp_compute_normals_test.cpp b/Polygon_mesh_processing/test/Polygon_mesh_processing/pmp_compute_normals_test.cpp index 88a70ee95c0..e2ceaddcdf6 100644 --- a/Polygon_mesh_processing/test/Polygon_mesh_processing/pmp_compute_normals_test.cpp +++ b/Polygon_mesh_processing/test/Polygon_mesh_processing/pmp_compute_normals_test.cpp @@ -145,9 +145,9 @@ void test_SM(const std::string file_name) } typename SM::template Property_map vnormals; - vnormals = mesh.template add_property_map("v:normals", CGAL::NULL_VECTOR).first; + vnormals = mesh.template add_property_map("v:normal", CGAL::NULL_VECTOR).first; typename SM::template Property_map fnormals; - fnormals = mesh.template add_property_map("f:normals", CGAL::NULL_VECTOR).first; + fnormals = mesh.template add_property_map("f:normal", CGAL::NULL_VECTOR).first; test(mesh, vnormals, fnormals); }