mirror of https://github.com/CGAL/cgal
Fixed min max problem
This commit is contained in:
parent
e7ed3f05fd
commit
e8b4b62ee6
|
|
@ -134,13 +134,13 @@ Two_vertices_parameterizer_3<Adaptor>::parameterize_border(Adaptor& mesh)
|
|||
{
|
||||
Point_3 position = mesh.get_vertex_position(it);
|
||||
|
||||
xmin = std::min(position.x(), xmin) ;
|
||||
ymin = std::min(position.y(), ymin) ;
|
||||
zmin = std::min(position.z(), zmin) ;
|
||||
xmin = (std::min)(position.x(), xmin) ;
|
||||
ymin = (std::min)(position.y(), ymin) ;
|
||||
zmin = (std::min)(position.z(), zmin) ;
|
||||
|
||||
xmax = std::max(position.x(), xmax) ;
|
||||
ymax = std::max(position.y(), ymax) ;
|
||||
zmax = std::max(position.z(), zmax) ;
|
||||
xmax = (std::max)(position.x(), xmax) ;
|
||||
ymax = (std::max)(position.y(), ymax) ;
|
||||
zmax = (std::max)(position.z(), zmax) ;
|
||||
}
|
||||
|
||||
// Find longest bounding box axes
|
||||
|
|
|
|||
Loading…
Reference in New Issue