mirror of https://github.com/CGAL/cgal
Fix using removed variables
This commit is contained in:
parent
b0379f54bd
commit
1494ffec88
|
|
@ -136,12 +136,12 @@ void optimize_along_OBB_axes(typename Traits::Matrix& rot,
|
|||
|
||||
rotated_points.emplace_back(pv(0), pv(1), pv(2));
|
||||
|
||||
xmin = (std::min)(xmin, rx);
|
||||
ymin = (std::min)(ymin, ry);
|
||||
zmin = (std::min)(zmin, rz);
|
||||
xmax = (std::max)(xmax, rx);
|
||||
ymax = (std::max)(ymax, ry);
|
||||
zmax = (std::max)(zmax, rz);
|
||||
xmin = (std::min)(xmin, pv(0));
|
||||
ymin = (std::min)(ymin, pv(1))
|
||||
zmin = (std::min)(zmin, pv(2))
|
||||
xmax = (std::max)(xmax, pv(0))
|
||||
ymax = (std::max)(ymax, pv(1))
|
||||
zmax = (std::max)(zmax, pv(2))
|
||||
}
|
||||
|
||||
const FT lx = xmax - xmin;
|
||||
|
|
|
|||
Loading…
Reference in New Issue