Fixed min max problem

This commit is contained in:
Andreas Fabri 2006-07-31 22:39:25 +00:00
parent e7ed3f05fd
commit e8b4b62ee6
1 changed files with 6 additions and 6 deletions

View File

@ -134,13 +134,13 @@ Two_vertices_parameterizer_3<Adaptor>::parameterize_border(Adaptor& mesh)
{ {
Point_3 position = mesh.get_vertex_position(it); Point_3 position = mesh.get_vertex_position(it);
xmin = std::min(position.x(), xmin) ; xmin = (std::min)(position.x(), xmin) ;
ymin = std::min(position.y(), ymin) ; ymin = (std::min)(position.y(), ymin) ;
zmin = std::min(position.z(), zmin) ; zmin = (std::min)(position.z(), zmin) ;
xmax = std::max(position.x(), xmax) ; xmax = (std::max)(position.x(), xmax) ;
ymax = std::max(position.y(), ymax) ; ymax = (std::max)(position.y(), ymax) ;
zmax = std::max(position.z(), zmax) ; zmax = (std::max)(position.z(), zmax) ;
} }
// Find longest bounding box axes // Find longest bounding box axes