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

comments

parent f7c39e49
Branches
Tags
No related merge requests found
...@@ -69,6 +69,7 @@ DMACell.prototype.getScale = function(){//need for part relay ...@@ -69,6 +69,7 @@ DMACell.prototype.getScale = function(){//need for part relay
return dmaGlobals.lattice.get("scale"); return dmaGlobals.lattice.get("scale");
}; };
//todo maybe this should be stored instead of recalc?
DMACell.prototype.getPosition = function(){//need for part relay DMACell.prototype.getPosition = function(){//need for part relay
if (this.isInverse) return dmaGlobals.lattice.getInvCellPositionForIndex(this.indices); if (this.isInverse) return dmaGlobals.lattice.getInvCellPositionForIndex(this.indices);
return dmaGlobals.lattice.getPositionForIndex(this.indices); return dmaGlobals.lattice.getPositionForIndex(this.indices);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment