tweaks to xray, debug. add poly dep to mesh for topo mod

This commit is contained in:
Stewart Allen 2022-06-16 18:24:49 -04:00
commit f233bc2768
9 changed files with 47 additions and 9 deletions

View file

@ -35,6 +35,12 @@ AP.peek = function() {
return this[this.length - 1];
};
AP.drop = function(pre = 0, post = 0) {
while (pre-- > 0) this.shift();
while (post-- > 0) this.pop();
return this;
};
/**
* allow chaining of push() calls
*/