Commit 0301302d authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

eod

parent b0b5ccf5
......@@ -195,10 +195,12 @@ define(['underscore', 'three', 'threeModel', 'lattice', 'appState', 'cell', 'mat
DMASuperCell.prototype._loopCells = function(callback){
var cells = this.sparseCells;
console.log(cells);
if (!cells || cells === undefined) return;
for (var x=0;x<cells.length;x++){
for (var y=0;y<cells[0].length;y++){
for (var z=0;z<cells[0][0].length;z++){
console.log(cells[x][y][z]);
if (cells[x][y][z]) callback(cells[x][y][z], x, y, z, this);
}
}
......
......@@ -154,6 +154,7 @@ define(['underscore', 'backbone', 'appState', 'globals', 'plist', 'three', 'thre
this.makeCellWithJSON(json, function(cell){
var flattenedCells = cell.getCells();
console.log(flattenedCells);
console.log(cell);
var bounds = cell.getAbsoluteBounds();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment