Newer
Older
getUnits: function(){
return lattice.getUnits();
},
getScale: function(){
return lattice.getScale();
},
getNumCells: function(){
return lattice.getNumCells();
},
getBoundingBox: function(){
return lattice.calculateBoundingBox();
},
//cells
clearCells: function(){
lattice.clearCells();
},
getSparseCells: function(){
},
loopSparseCells: function(){
},
loopCells: function(){
},
//parse x, y, z
//check data is valid json
lattice.addCellAtIndex(new THREE.Vector3(x, y, z), data);
removeCell: function(cell){
lattice.removeCell(cell);
},