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

getting there

parent 68fa9569
No related branches found
No related tags found
No related merge requests found
......@@ -71,8 +71,8 @@ Lattice = Backbone.Model.extend({
if (expansion[key] == 0) return;//no expansion on this axis
var cellsX = cells.length;
var cellsY = cellsX > 0 ? 1 : cells[0].length;
var cellsZ = cellsY > 0 ? 1 : cells[0][0].length;
var cellsY = cells[0].length;
var cellsZ = cells[0][0].length;
if (key=="x"){
for (var x=0;x<expansion[key];x++){
......
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