Commit f5df79eb authored by amandaghassaei's avatar amandaghassaei
Browse files

small changes

parent ee7c55d0
......@@ -371,6 +371,7 @@
<li><a href="#" class="demo" data-url="Tessellations/waterbomb.svg">Waterbomb</a></li>
</ul>
</li>
<li><a class="loadFile" href="#">Import .txt...</a></li>
<li><a class="loadFile" href="#">Import SVG...</a></li>
<li class="divider"></li>
<!--<li><a id="saveSVG" href="#">Save Pattern as SVG...</a></li>-->
......
......@@ -165,6 +165,7 @@ function initPattern(globals){
}
function getFacesAndVerticesForEdges(faces, allEdges){
//todo merge this
var allCreaseParams = [];//face1Ind, vertInd, face2Ind, ver2Ind, edgeInd, angle
for (var i=outlines.length;i<outlines.length+mountains.length+valleys.length;i++){
var v1 = allEdges[i][0];
......@@ -200,7 +201,6 @@ function initPattern(globals){
}
creaseParams.push(angle);
} else {
console.log("panel");
creaseParams.push(0);
}
allCreaseParams.push(creaseParams);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment