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

super fixes

parent 65a07d1b
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment