regen widget topo to allow for multiple contours on the same axis

This commit is contained in:
Stewart Allen 2022-02-09 10:32:01 -05:00
commit 2ff81df1e6

View file

@ -50,7 +50,7 @@
R2A = 180 / Math.PI,
stepsx = Math.ceil(boundsX / resolution),
stepsy = Math.ceil(boundsY / resolution),
topo = widget.topo = widget.topo || {
topo = widget.topo = {
data: new Float32Array(stepsx * stepsy),
stepsx: stepsx,
stepsy: stepsy,