diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-14 16:37:04 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-14 16:37:04 +0100 |
commit | 41b6cc54a739ef1776c4e827a0e82c33438f1c14 (patch) | |
tree | 1b6dbe4c5c91906b0262faaf119d5af2fa78e149 | |
parent | Configure texture fragment mapmode from material (diff) | |
download | ilt-41b6cc54a739ef1776c4e827a0e82c33438f1c14.tar.bz2 ilt-41b6cc54a739ef1776c4e827a0e82c33438f1c14.tar.xz ilt-41b6cc54a739ef1776c4e827a0e82c33438f1c14.zip |
Adjust test render view to get a closer view of our tree
-rw-r--r-- | test/test-assetFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-assetFactory.cpp b/test/test-assetFactory.cpp index 59dc40d..c425e71 100644 --- a/test/test-assetFactory.cpp +++ b/test/test-assetFactory.cpp @@ -108,10 +108,10 @@ BOOST_AUTO_TEST_CASE(foliage, *boost::unit_test::timeout(5)) auto tree_01_1_f = std::dynamic_pointer_cast<Foliage>(tree_01_1); BOOST_REQUIRE(tree_01_1_f); - auto plant = std::make_shared<Plant>(tree_01_1_f, Location {}); + auto plant = std::make_shared<Plant>(tree_01_1_f, Location {{-2, 2, 0}, {}}); objects.objects.push_back(plant); - render(); + render(5); } BOOST_AUTO_TEST_SUITE_END(); |