summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6492fcb)
raw | patch | inline | side by side (parent: 6492fcb)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Tue, 17 Jun 2008 21:03:56 +0000 (21:03 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Tue, 17 Jun 2008 21:03:56 +0000 (21:03 +0000) |
src/live_effects/lpe-knot.cpp | patch | blob | history |
index 525cb66d501872af836578ecae2b8d89b54d6072..678bbf8ba070a0aaad8c2b9f69e8f36e5b507fce 100644 (file)
if(curveidx == pathb.size() && timeoncurve == 0) { curveidx--; timeoncurve = 0.99999;}
assert(curveidx >= 0 && curveidx < pathb.size());
- std::vector<Point> MV = pathb[unsigned(curveidx)].pointAndDerivatives(timeoncurve,2);
+ std::vector<Point> MV = pathb[unsigned(curveidx)].pointAndDerivatives(timeoncurve,1);
Point T = unit_vector(MV.at(1));
Point N = T.cw();
Point A = MV.at(0)-10*width*T, B = MV.at(0)+10*width*T;