1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-29 19:20:39 +02:00

curve moulding

This commit is contained in:
Pomax
2016-01-06 23:02:36 -08:00
parent f79fb75769
commit c8c6a3504c
12 changed files with 1301 additions and 97 deletions

View File

@@ -49,7 +49,8 @@ var CurveIntersections = React.createClass({
this.pairs = [];
this.finals = [];
pairs.forEach(p => {
if(p.c1.length() < 1 && p.c2.length() <1) {
if(p.c1.length() < 0.6 && p.c2.length() < 0.6) {
return this.finals.push(p);
}