summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-03-08 20:41:37 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-03-08 20:41:37 +0000
commit567477ab8b4b09111d942039c4b2587b25fc2fe2 (patch)
tree7a5ae3d951d68d0ba8c41519e8c5584f0f400ebb /test
parentBail out early if the input does not define an area (diff)
downloadilt-567477ab8b4b09111d942039c4b2587b25fc2fe2.tar.bz2
ilt-567477ab8b4b09111d942039c4b2587b25fc2fe2.tar.xz
ilt-567477ab8b4b09111d942039c4b2587b25fc2fe2.zip
Rewrite most of setHeights
Accounts for sensible corners and fixes quite a few bugs and edge cases... introduces a few more, is still a bit glitchy in places
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/geoData/deform/1.json53
1 files changed, 52 insertions, 1 deletions
diff --git a/test/fixtures/geoData/deform/1.json b/test/fixtures/geoData/deform/1.json
index 33ac86d..2854e64 100644
--- a/test/fixtures/geoData/deform/1.json
+++ b/test/fixtures/geoData/deform/1.json
@@ -19,7 +19,7 @@
[
241000,
123330,
- -2000
+ 2000
]
],
[
@@ -69,5 +69,56 @@
"/tmp/geoData2.tga"
]
]
+ ],
+ [
+ [
+ [
+ 3000,
+ 1000,
+ 500
+ ],
+ [
+ 3000,
+ 2000,
+ 500
+ ],
+ [
+ 2000,
+ 1000,
+ 500
+ ]
+ ],
+ [
+ [
+ [
+ [
+ -1000,
+ -3000,
+ 7000
+ ],
+ [
+ 1,
+ 1,
+ -1.5
+ ]
+ ],
+ "/tmp/geoData3.tga"
+ ],
+ [
+ [
+ [
+ 1800,
+ 2500,
+ 800
+ ],
+ [
+ 1,
+ -0.2,
+ -0.5
+ ]
+ ],
+ "/tmp/geoData4.tga"
+ ]
+ ]
]
]