diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-11-04 17:07:58 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-11-04 17:07:58 +0000 |
commit | 582ac127f763f512c45f35e17b768487e3b51796 (patch) | |
tree | 4b67659fd1a0906649c1f83570ab9cbb30194f75 /test/test-render.cpp | |
parent | Reformat test source (diff) | |
download | ilt-582ac127f763f512c45f35e17b768487e3b51796.tar.bz2 ilt-582ac127f763f512c45f35e17b768487e3b51796.tar.xz ilt-582ac127f763f512c45f35e17b768487e3b51796.zip |
Rename TerrainMesh to GeoData to drop inplace
Diffstat (limited to 'test/test-render.cpp')
-rw-r--r-- | test/test-render.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test-render.cpp b/test/test-render.cpp index b16f241..fb2a71b 100644 --- a/test/test-render.cpp +++ b/test/test-render.cpp @@ -26,8 +26,7 @@ class TestScene : public SceneProvider { std::shared_ptr<RailVehicle> train1, train2; Terrain terrain {[]() { - auto gd = std::make_shared<GeoData>(GeoData::Limits {{0, 0}, {100, 100}}); - gd->generateRandom(); + auto gd = std::make_shared<GeoData>(GeoData::createFlat({0, 0}, {1000, 1000}, 1)); return gd; }()}; |