mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-12 11:44:22 +02:00
misplaced point for control-diagram-2
This commit is contained in:
@@ -96,7 +96,7 @@ var Control = React.createClass({
|
||||
this.drawLerpBox(api, dim, pad, p);
|
||||
var t = (p.x-pad)/fwh;
|
||||
this.drawLerpPoint(api, (1-t)*(1-t)*(1-t), pad, fwh, p);
|
||||
this.drawLerpPoint(api, 2*(1-t)*(1-t)*(t), pad, fwh, p);
|
||||
this.drawLerpPoint(api, 3*(1-t)*(1-t)*(t), pad, fwh, p);
|
||||
this.drawLerpPoint(api, 3*(1-t)*(t)*(t), pad, fwh, p);
|
||||
this.drawLerpPoint(api, (t)*(t)*(t), pad, fwh, p);
|
||||
}
|
||||
|
Reference in New Issue
Block a user