diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-11-23 14:18:56 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-11-23 14:18:56 +0000 |
commit | 2be260117a757288d419cf1564ccd6b91794399e (patch) | |
tree | 3b438b34d477ee9d8f91d70585f8b74ce9471c71 /test/test-geoData.cpp | |
parent | Remove split face specialisation (diff) | |
download | ilt-2be260117a757288d419cf1564ccd6b91794399e.tar.bz2 ilt-2be260117a757288d419cf1564ccd6b91794399e.tar.xz ilt-2be260117a757288d419cf1564ccd6b91794399e.zip |
Pass setHeights options as a struct with defaults
Diffstat (limited to 'test/test-geoData.cpp')
-rw-r--r-- | test/test-geoData.cpp | 2 |
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; |