diff options
Diffstat (limited to 'src/helper/geom.cpp')
| -rw-r--r-- | src/helper/geom.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/helper/geom.cpp b/src/helper/geom.cpp index 2420b43b4..64aa8bc48 100644 --- a/src/helper/geom.cpp +++ b/src/helper/geom.cpp @@ -28,8 +28,6 @@ using Geom::X; using Geom::Y; -#define NR_HUGE 1e18 - //################################################################################# // BOUNDING BOX CALCULATIONS @@ -423,7 +421,7 @@ pathv_matrix_point_bbox_wind_distance (Geom::PathVector const & pathv, Geom::Aff { if (pathv.empty()) { if (wind) *wind = 0; - if (dist) *dist = NR_HUGE; + if (dist) *dist = Geom::infinity(); return; } |
