summaryrefslogtreecommitdiffstats
path: root/src/livarot/PathSimplify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/livarot/PathSimplify.cpp')
-rw-r--r--src/livarot/PathSimplify.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/livarot/PathSimplify.cpp b/src/livarot/PathSimplify.cpp
index 7b04f028a..fb2aa55e2 100644
--- a/src/livarot/PathSimplify.cpp
+++ b/src/livarot/PathSimplify.cpp
@@ -7,7 +7,6 @@
*/
#include <glib/gmem.h>
-#include <libnr/nr-point-matrix-ops.h>
#include "livarot/Path.h"
#include "livarot/path-description.h"
@@ -127,7 +126,7 @@ double DistanceToCubic(Geom::Point const &start, PathDescrCubicTo res, Geom::Poi
}
Geom::Point seg = res.p - start;
- nnle = NR::cross(seg, sp);
+ nnle = Geom::cross(seg, sp);
nnle *= nnle;
nnle /= Geom::dot(seg, seg);
if ( nnle < nle ) {