X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld.cpp;h=30e92297d7402d4b040f09eebc9053b872d1052f;hb=32a2a1231de8438f8408007c41247361b1c52417;hp=40dd6bdfc578ffaa22af252f3b242f7978ea8f87;hpb=bd6bd2c875f4b6baef913e5315aa9f7e7cd7da7a;p=blank.git diff --git a/src/world.cpp b/src/world.cpp index 40dd6bd..30e9229 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -109,7 +109,7 @@ World::World(unsigned int seed) player = &AddEntity(); player->Position({ 4.0f, 4.0f, 4.0f }); - chunks.Generate({ -4, -4, -4 }, { 5, 5, 5}); + chunks.GenerateSurrounding(player->ChunkCoords()); }