summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a832584)
raw | patch | inline | side by side (parent: a832584)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 8 Jan 2009 12:13:12 +0000 (12:13 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 8 Jan 2009 12:13:12 +0000 (12:13 +0000) |
src/2geom/poly.cpp | patch | blob | history | |
src/pencil-context.cpp | patch | blob | history |
diff --git a/src/2geom/poly.cpp b/src/2geom/poly.cpp
index 9dbfc0967d5ffedce1ffe1c2028f6f52e6b8c770..d8b379557f154b812dd151dd62d3a50df3ac73e3 100644 (file)
--- a/src/2geom/poly.cpp
+++ b/src/2geom/poly.cpp
#include <2geom/poly.h>
+#define HAVE_GSL
#ifdef HAVE_GSL
#include <gsl/gsl_poly.h>
#endif
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp
index 56a479f38201da2de5dd72a13282f9e6af32688d..d089146b808171f016d4ba2ca59adba64fa7de8f 100644 (file)
--- a/src/pencil-context.cpp
+++ b/src/pencil-context.cpp
} else {
t = 0.5;
}
- pc->sketch_interpolation = Geom::lerp(fit_pwd2, pc->sketch_interpolation, t);
+ pc->sketch_interpolation = Geom::lerp(t, fit_pwd2, pc->sketch_interpolation);
} else {
pc->sketch_interpolation = fit_pwd2;
}