mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Fix wrong direction of tangent evaluation at t = 1.
This commit is contained in:
parent
c2c5955717
commit
c296eb0883
1 changed files with 2 additions and 2 deletions
|
@ -410,8 +410,8 @@ var Curve = this.Curve = Base.extend({
|
||||||
} else { // handle2
|
} else { // handle2
|
||||||
px = c2x; py = c2y;
|
px = c2x; py = c2y;
|
||||||
}
|
}
|
||||||
x = px - p2x;
|
x = p2x - px;
|
||||||
y = py - p2y;
|
y = p2y - py;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue