fix arc.flat() bug, migrate 3d/4d topo for minions

This commit is contained in:
Stewart Allen 2025-07-08 21:26:52 -04:00
commit 3a71c93752
7 changed files with 135 additions and 155 deletions

View file

@ -8,7 +8,7 @@ if (!AP.flat) {
try {
return [].concat.apply([], this);
} catch (e) {
// console.log({flat_error: e});
// console.log({ flat_error: e, array: this });
let out = [];
for (let e of this.slice()) {
out.push(...e);