PMP: Change the string of the property
This commit is contained in:
+2
-2
@@ -29,8 +29,8 @@ int main(int argc, char* argv[])
|
||||
return 1;
|
||||
}
|
||||
|
||||
auto vnormals = mesh.add_property_map<vertex_descriptor, Vector>("v:normals", CGAL::NULL_VECTOR).first;
|
||||
auto fnormals = mesh.add_property_map<face_descriptor, Vector>("f:normals", CGAL::NULL_VECTOR).first;
|
||||
auto vnormals = mesh.add_property_map<vertex_descriptor, Vector>("v:normal", CGAL::NULL_VECTOR).first;
|
||||
auto fnormals = mesh.add_property_map<face_descriptor, Vector>("f:normal", CGAL::NULL_VECTOR).first;
|
||||
|
||||
PMP::compute_normals(mesh, vnormals, fnormals);
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ int main(int argc, char* argv[])
|
||||
|
||||
CGAL::IO::read_polygon_mesh(filename, in);
|
||||
|
||||
VNMap vnormals = in.template add_property_map<vertex_descriptor, Vector>("v:normals", CGAL::NULL_VECTOR).first;
|
||||
VNMap vnormals = in.template add_property_map<vertex_descriptor, Vector>("v:normal", CGAL::NULL_VECTOR).first;
|
||||
|
||||
CGAL::Polygon_mesh_processing::compute_vertex_normals(in, vnormals);
|
||||
Bottom bottom(get(CGAL::vertex_point,out), vnormals, vlen);
|
||||
|
||||
Reference in New Issue
Block a user