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);
|
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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue