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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/livarot/PathSimplify.cpp b/src/livarot/PathSimplify.cpp
index 7b04f028a..d6e916197 100644
--- a/src/livarot/PathSimplify.cpp
+++ b/src/livarot/PathSimplify.cpp
@@ -6,8 +6,8 @@
*
*/
-#include <glib/gmem.h>
-#include <libnr/nr-point-matrix-ops.h>
+#include <glib.h>
+#include <2geom/affine.h>
#include "livarot/Path.h"
#include "livarot/path-description.h"
@@ -127,7 +127,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 ) {