summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-11-23 14:18:56 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-11-23 14:18:56 +0000
commit2be260117a757288d419cf1564ccd6b91794399e (patch)
tree3b438b34d477ee9d8f91d70585f8b74ce9471c71 /test
parentRemove split face specialisation (diff)
downloadilt-2be260117a757288d419cf1564ccd6b91794399e.tar.bz2
ilt-2be260117a757288d419cf1564ccd6b91794399e.tar.xz
ilt-2be260117a757288d419cf1564ccd6b91794399e.zip
Pass setHeights options as a struct with defaults
Diffstat (limited to 'test')
-rw-r--r--test/test-geoData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-geoData.cpp b/test/test-geoData.cpp
index 35d6bae..17e1741 100644
--- a/test/test-geoData.cpp
+++ b/test/test-geoData.cpp
@@ -232,7 +232,7 @@ BOOST_DATA_TEST_CASE(deform, loadFixtureJson<DeformTerrainData>("geoData/deform/
Surface surface;
surface.colorBias = RGB {0, 0, 1};
auto gd = std::make_shared<GeoData>(GeoData::createFlat({0, 0}, {1000000, 1000000}, 100));
- BOOST_CHECK_NO_THROW(gd->setHeights(points, surface));
+ BOOST_CHECK_NO_THROW(gd->setHeights(points, {.surface = surface}));
ApplicationBase ab;
TestMainWindow tmw;