Fix wrong direction of tangent evaluation at t = 1.

This commit is contained in:
Jürg Lehni 2011-06-05 13:09:53 +01:00
parent c2c5955717
commit c296eb0883

View file

@ -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;
}