diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-11-25 14:08:02 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-11-25 14:08:02 +0000 |
commit | 4c4328d6091ff467fd590c1cc1dc9435c920f6a7 (patch) | |
tree | 839e6be69ae867438cb930bb177d44a5f3a6e263 /application | |
parent | Send position and rotation matrix to GPU separately in basic program (diff) | |
download | ilt-4c4328d6091ff467fd590c1cc1dc9435c920f6a7.tar.bz2 ilt-4c4328d6091ff467fd590c1cc1dc9435c920f6a7.tar.xz ilt-4c4328d6091ff467fd590c1cc1dc9435c920f6a7.zip |
Spread the trees out
Diffstat (limited to 'application')
-rw-r--r-- | application/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/main.cpp b/application/main.cpp index 01e6561..e4e71c7 100644 --- a/application/main.cpp +++ b/application/main.cpp @@ -80,8 +80,8 @@ public: train->currentActivity = train->orders.current()->createActivity(); auto foliage = std::dynamic_pointer_cast<Foliage>(assets.at("Tree-01-1")); - for (float x = 900000; x < 1100000; x += 3000) { - for (float y = 900000; y < 1100000; y += 3000) { + for (float x = 900000; x < 1100000; x += 5000) { + for (float y = 900000; y < 1100000; y += 5000) { world.create<Plant>(foliage, Location {geoData->positionAt({-x, -y})}); } } |