Skip to content
Snippets Groups Projects
Commit e6f3000d authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

fixed part rotation bug

parent 18897cec
Branches
No related tags found
No related merge requests found
......@@ -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;
};
......
......@@ -37,7 +37,7 @@
<!--global variables-->
<script>
window.defaultLatticeScale = 10;
window.defaultLatticeScale = 20;
</script>
<!--multi-threading-->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment