]> git.localhorst.tv Git - blank.git/blobdiff - src/app.cpp
limit number of chunks generated per frame
[blank.git] / src / app.cpp
index 21eb85c309830eca5f332d6f5cdd719d1b8da04a..539858f58df74ba0adc865adda884169bcbd94f9 100644 (file)
@@ -34,7 +34,7 @@ Application::Application()
        glGenVertexArrays(1, &VertexArrayID);
        glBindVertexArray(VertexArrayID);
 
-       world.Generate();
+       world.Generate({ -4, -4, -4 }, { 5, 5, 5});
 
        hud.Viewport(960, 600);
        hud.Display(*world.BlockTypes()[place_id]);