1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-22 00:07:10 +02:00

all the moulding sections

This commit is contained in:
Pomax
2016-01-07 14:08:16 -08:00
parent 4f3c475691
commit f08e3d222a
16 changed files with 1425 additions and 465 deletions

View File

@@ -20,7 +20,7 @@ var Intersections = React.createClass({
drawLineIntersection: function(api, curves) {
api.reset();
var lli = curves[0].getUtils().lli4;
var lli = api.utils.lli4;
var p = lli(
curves[0].points[0],
curves[0].points[1],
@@ -71,7 +71,7 @@ var Intersections = React.createClass({
api.drawCurve(curve);
});
var utils = curves[0].getUtils();
var utils = api.utils;
var line = { p1: curves[1].points[0], p2: curves[1].points[1] };
var acpts = utils.align(curves[0].points, line);
var nB = new api.Bezier(acpts);