Merge branch 'master' of github.com:GridSpace/grid-apps

This commit is contained in:
Stewart Allen 2021-06-14 12:10:06 -04:00
commit ffa7d62249

View file

@ -149,6 +149,7 @@
iter: loops - 1 iter: loops - 1
}); });
} }
if (process.ranges)
for (let range of process.ranges) { for (let range of process.ranges) {
if (range.fields.outputLoops) { if (range.fields.outputLoops) {
rloops.push({ rloops.push({
@ -634,7 +635,6 @@
if (arcQ.length > 4) { if (arcQ.length > 4) {
let vec1 = new THREE.Vector2(arcQ[1].x - arcQ[0].x, arcQ[1].y - arcQ[0].y); let vec1 = new THREE.Vector2(arcQ[1].x - arcQ[0].x, arcQ[1].y - arcQ[0].y);
let vec2 = new THREE.Vector2(arcQ.center[0].x - arcQ[0].x, arcQ.center[0].y - arcQ[0].y); let vec2 = new THREE.Vector2(arcQ.center[0].x - arcQ[0].x, arcQ.center[0].y - arcQ[0].y);
let area = BASE.newPolygon().addObj(arcQ).area();
let from = arcQ[0]; let from = arcQ[0];
let to = arcQ.peek(); let to = arcQ.peek();
let cc = {x:0, y:0, z:0, r:0}; let cc = {x:0, y:0, z:0, r:0};