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

cell rotations

parent 4e98a94a
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ var cellMaterial = [new THREE.MeshNormalMaterial()]; ...@@ -30,7 +30,7 @@ var cellMaterial = [new THREE.MeshNormalMaterial()];
DMACubeCell.prototype.calcHighlighterPosition = function(face){ DMACubeCell.prototype.calcHighlighterPosition = function(face){
var direction = face.normal; var direction = face.normal.clone().applyEuler(this.cellMesh.rotation);
var position = this.getPosition(); var position = this.getPosition();
var scale = this.xScale(); var scale = this.xScale();
_.each(_.keys(position), function(key){ _.each(_.keys(position), function(key){
......
fix parse int/float/lattice/appstate - put in menu wrapper fix parse int/float/lattice/appstate - put in menu wrapper
\ No newline at end of file color swatch menu
gik direction
gik position z scale
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment