Workaround for min/max macros in windef.h

This commit is contained in:
Andreas Haas 2015-06-08 14:36:18 +02:00
parent 88a761f9a6
commit 6dce1a765d
1 changed files with 4 additions and 4 deletions

View File

@ -881,10 +881,10 @@ private:
//make the box a little bigger than bb so that it won't intersect any
//relevant_edge.
xmin = compute_x(bb.min())-1;
ymin = compute_y(bb.min())-1;
xmax = compute_x(bb.max())+1;
ymax = compute_y(bb.max())+1;
xmin = compute_x((bb.min)())-1;
ymin = compute_y((bb.min)())-1;
xmax = compute_x((bb.max)())+1;
ymax = compute_y((bb.max)())+1;
Point_2 box[4] = {Point_2(xmin, ymin), Point_2(xmax, ymin),
Point_2(xmax, ymax), Point_2(xmin, ymax)};