diff options
Diffstat (limited to 'graphics/asymptote/path3.h')
-rw-r--r-- | graphics/asymptote/path3.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/asymptote/path3.h b/graphics/asymptote/path3.h index 14ed3dd1ca..35eadbaf8e 100644 --- a/graphics/asymptote/path3.h +++ b/graphics/asymptote/path3.h @@ -17,6 +17,10 @@ #include "path.h" #include "arrayop.h" +// For CYGWIN +#undef near +#undef far + namespace camp { void checkEmpty3(Int n); @@ -283,13 +287,13 @@ public: triple mintimes() const { checkEmpty3(n); bounds(); - return camp::triple(times.left,times.bottom,times.lower); + return camp::triple(times.left,times.bottom,times.near); } triple maxtimes() const { checkEmpty3(n); bounds(); - return camp::triple(times.right,times.top,times.upper); + return camp::triple(times.right,times.top,times.far); } template<class T> |