mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -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
|
||||
px = c2x; py = c2y;
|
||||
}
|
||||
x = px - p2x;
|
||||
y = py - p2y;
|
||||
x = p2x - px;
|
||||
y = p2y - py;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue