From 79642d1ac4b856416b6ff05ba90aa8b239ee76d0 Mon Sep 17 00:00:00 2001 From: Amanda Ghassaei <amandaghassaei@gmail.com> Date: Mon, 9 Mar 2015 22:58:41 -0400 Subject: [PATCH] super fixes --- js/fea/DmaCellOther.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/fea/DmaCellOther.js b/js/fea/DmaCellOther.js index 38434f5c..190973b5 100644 --- a/js/fea/DmaCellOther.js +++ b/js/fea/DmaCellOther.js @@ -56,9 +56,9 @@ var cellMaterial = [new THREE.MeshNormalMaterial()]; unitCellGeo.computeFaceNormals(); function DMATruncCubeCell(indices, scale){ - DMACell.call(this, indices, scale, true); + DMAInverseCell.call(this, indices, scale); } - DMATruncCubeCell.prototype = Object.create(DMACell.prototype); + DMATruncCubeCell.prototype = Object.create(DMAInverseCell.prototype); DMATruncCubeCell.prototype._buildCellMesh = function(){//abstract mesh representation of cell var mesh = DMACell.prototype._buildCellMesh.call(this, unitCellGeo, cellMaterial); -- GitLab