fix contour y bounds swap

This commit is contained in:
Stewart Allen 2025-11-15 12:08:05 -05:00
commit 97fd508e46
4 changed files with 13 additions and 5 deletions

View file

@ -129,6 +129,13 @@ export class Topo {
vertices[i+1] = vertices[i+0];
vertices[i+0] = tmp;
}
['min','max'].forEach(ext => {
ext = wbounds[ext];
let tmp = ext.x;
ext.x = ext.y;
ext.y = tmp;
});
console.log({ wbounds });
console.timeEnd('swap XY vertices');
}