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

stopping point

parent 6272ccb9
Branches
Tags
No related merge requests found
...@@ -21,7 +21,7 @@ define(['underscore', 'backbone', 'threeModel', 'appState', 'lattice', 'cell', ' ...@@ -21,7 +21,7 @@ define(['underscore', 'backbone', 'threeModel', 'appState', 'lattice', 'cell', '
opacity:0.4, opacity:0.4,
color:0xffffff color:0xffffff
})); }));
if (this._makeWireframe) this._makeWireframe(); if (this._makeWireframe) this._makeWireframe(this.mesh);
three.sceneAdd(this.mesh); three.sceneAdd(this.mesh);
this._setScale(); this._setScale();
......
...@@ -19,6 +19,7 @@ define(['underscore', 'backbone', 'threeModel', 'appState', 'lattice', 'cell', ' ...@@ -19,6 +19,7 @@ define(['underscore', 'backbone', 'threeModel', 'appState', 'lattice', 'cell', '
}, },
_makeWireframe: function(mesh){ _makeWireframe: function(mesh){
// console.log(mesh);
// var wireframe = new THREE.BoxHelper(mesh); // var wireframe = new THREE.BoxHelper(mesh);
// wireframe.material.color.set(0x000000); // wireframe.material.color.set(0x000000);
// wireframe.matrixWorld = mesh.matrixWorld; // wireframe.matrixWorld = mesh.matrixWorld;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment