From bd0c519078afa41e866c5f74aa0c4ce682a9a712 Mon Sep 17 00:00:00 2001 From: Amanda Ghassaei <amandaghassaei@gmail.com> Date: Sat, 16 May 2015 03:46:30 -0400 Subject: [PATCH] cell rotations --- js/fea/DmaCellOther.js | 2 +- todo | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/js/fea/DmaCellOther.js b/js/fea/DmaCellOther.js index 4c188089..5fbc4252 100644 --- a/js/fea/DmaCellOther.js +++ b/js/fea/DmaCellOther.js @@ -30,7 +30,7 @@ var cellMaterial = [new THREE.MeshNormalMaterial()]; DMACubeCell.prototype.calcHighlighterPosition = function(face){ - var direction = face.normal; + var direction = face.normal.clone().applyEuler(this.cellMesh.rotation); var position = this.getPosition(); var scale = this.xScale(); _.each(_.keys(position), function(key){ diff --git a/todo b/todo index eccd9ec9..b4480f86 100644 --- a/todo +++ b/todo @@ -1 +1,4 @@ -fix parse int/float/lattice/appstate - put in menu wrapper \ No newline at end of file +fix parse int/float/lattice/appstate - put in menu wrapper +color swatch menu +gik direction +gik position z scale \ No newline at end of file -- GitLab