summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-01-05 15:30:09 +0000
committerJabiertxof <jtx@jtx.marker.es>2016-01-05 15:30:09 +0000
commit695d61abbef5af697f01e1b046e5ecc89c9aab80 (patch)
treeadc4297c6bb9e4a9b188cabe3849d4bb946cc335 /src/live_effects
parentRemove two path requirement, there is some really good functionality with mul... (diff)
downloadinkscape-695d61abbef5af697f01e1b046e5ecc89c9aab80.tar.gz
inkscape-695d61abbef5af697f01e1b046e5ecc89c9aab80.zip
Improve constant definitions
(bzr r14561)
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/lpe-bspline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-bspline.cpp b/src/live_effects/lpe-bspline.cpp
index 7e92e767d..1423e670a 100644
--- a/src/live_effects/lpe-bspline.cpp
+++ b/src/live_effects/lpe-bspline.cpp
@@ -20,8 +20,8 @@ namespace LivePathEffect {
const double HANDLE_CUBIC_GAP = 0.001;
const double NO_POWER = 0.0;
-const double DEFAULT_START_POWER = 0.333334;
-const double DEFAULT_END_POWER = 0.666667;
+const double DEFAULT_START_POWER = 1.0/3.0;
+const double DEFAULT_END_POWER = 2.0/3.0;
Geom::PathVector hp;
void sp_bspline_drawHandle(Geom::Point p, double helper_size);