diff --git a/js/fea/DmaCellOther.js b/js/fea/DmaCellOther.js index 38434f5c0d8636dc7ac4cc0540f2ac073ac99703..190973b580914d14c1868e9e44c89e2e7b5e50ee 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);