diff --git a/js/fea/dmaPart.js b/js/fea/dmaPart.js index 47378e75f5cec9b8709b282d599954a4087b782d..eda727280354b6fc395304ecbf902588c64776f9 100644 --- a/js/fea/dmaPart.js +++ b/js/fea/dmaPart.js @@ -48,6 +48,7 @@ mesh.rotateZ(-2*Math.PI/3); break; } + if (this.oddZFlag) mesh.rotateZ(Math.PI); return mesh; }; @@ -60,7 +61,6 @@ if (this.oddZFlag){//adjust some offsets for odd z layers mesh.position.y += 7*scale/6; - mesh.rotateZ(Math.PI); } return mesh; }; diff --git a/main.html b/main.html index d63f1ade8b15d2f1afcfee3f863eacee90754fb7..cd7800037edfe1a489dc820df3d1b3510c67a2f9 100644 --- a/main.html +++ b/main.html @@ -37,7 +37,7 @@ <!--global variables--> <script> - window.defaultLatticeScale = 10; + window.defaultLatticeScale = 20; </script> <!--multi-threading-->