tweaks to xray, debug. add poly dep to mesh for topo mod
This commit is contained in:
parent
bc5e3eda24
commit
f233bc2768
9 changed files with 47 additions and 9 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue