mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-27 22:29:11 -04:00
Cleanup solveCubic() further.
This commit is contained in:
parent
2fc4ff10ee
commit
dc9a9c42d2
2 changed files with 12 additions and 11 deletions
src/path
|
@ -301,7 +301,7 @@ var Curve = this.Curve = Base.extend(/** @lends Curve# */{
|
|||
if (t >= -tolerance && t < 1 - tolerance) {
|
||||
var pt = Curve.evaluate(vals, t, true, 0);
|
||||
/*#*/ if (options.debug) {
|
||||
console.log(t, point.y, pt.y);
|
||||
console.log(t, point + '', pt + '');
|
||||
new Path.Circle({
|
||||
center: Curve.evaluate(vals, t, true, 0),
|
||||
radius: 2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue