fix contour y bounds swap
This commit is contained in:
parent
1beb8d7cc0
commit
97fd508e46
4 changed files with 13 additions and 5 deletions
|
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue