Bugfix: has_normal_map() instead of has_normals()

This commit is contained in:
Simon Giraudot 2016-09-27 14:37:08 +02:00
parent 0017a02317
commit f095e21e60
1 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ write_xyz_point_set(
std::ostream& stream, ///< output stream.
const Point_set_3<Point, Vector>& point_set) ///< point set
{
if (point_set.has_normals())
if (point_set.has_normal_map())
return CGAL::write_xyz_points_and_normals
(stream, point_set.begin(), point_set.end(),
point_set.point_map(), point_set.normal_map());
@ -161,7 +161,7 @@ write_ply_point_set(
std::ostream& stream, ///< output stream.
const Point_set_3<Point, Vector>& point_set) ///< point set
{
if (point_set.has_normals())
if (point_set.has_normal_map())
return CGAL::write_ply_points_and_normals
(stream, point_set.begin(), point_set.end(),
point_set.point_map(), point_set.normal_map());