handle wasm files at other roots, preserve index on reload in mesh

This commit is contained in:
Stewart Allen 2022-10-22 11:02:02 -04:00
commit 376d9b2d67
4 changed files with 27 additions and 12 deletions

View file

@ -156,6 +156,10 @@ AP.toFloat32 = function() {
return new Float32Array(this);
};
AP.toUint32 = function() {
return Uint32Array.from(this);
};
AP.forEachPair = function(fn, incr) {
let scope = this,
idx = 0,