diff --git a/js/cells/CubeCell.js b/js/cells/CubeCell.js index 355dddf5b8eea359cab7dba18a2ddfa358d0b422..cda3dc621f226a11cdd4975981c6bb6df1c377cf 100644 --- a/js/cells/CubeCell.js +++ b/js/cells/CubeCell.js @@ -19,6 +19,8 @@ CubeCell.prototype._buildWireframe = function(mesh){//abstract mesh representation of cell var wireframe = new THREE.BoxHelper(mesh); wireframe.material.color.set(0x000000); + wireframe.matrixWorld = mesh.matrixWorld; + wireframe.matrixAutoUpdate = true; return wireframe; }; diff --git a/js/cells/TruncatedCubeCell.js b/js/cells/TruncatedCubeCell.js index 5e6665bd387c3036e7d5bb937d66c3d8be58c8cb..35fdca0d6b909e0019653e37b343a95c660e944d 100644 --- a/js/cells/TruncatedCubeCell.js +++ b/js/cells/TruncatedCubeCell.js @@ -59,7 +59,10 @@ }; TruncatedCubeCell.prototype._buildWireframe = function(mesh){//abstract mesh representation of cell - return new THREE.EdgesHelper(mesh, 0x000000); + var wireframe = new THREE.EdgesHelper(mesh, 0x000000); + wireframe.matrixWorld = mesh.matrixWorld; + wireframe.matrixAutoUpdate = true; + return wireframe; }; TruncatedCubeCell.prototype.calcHighlighterPosition = function(face){ diff --git a/js/models/AllAppPLists.js b/js/models/AllAppPLists.js index 322bc8644760e30be9de73926edff316164e276e..684124c1984e5ae87ab3c1eab344ed348c451ff6 100644 --- a/js/models/AllAppPLists.js +++ b/js/models/AllAppPLists.js @@ -31,7 +31,7 @@ function AppPList(){ tetra: "Tetrahedron (Coming Soon)", cube:"Cube", truncatedCube:"Cuboctahedron", - kelvin:"Truncated Octahedron" + kelvin:"Kelvin" }, allConnectionTypes: { octa: {face:"Face", freeformFace:"Freeform Face", edgeRot:"Edge", vertex:"Vertex"},//edge:"Edge",