summaryrefslogtreecommitdiff
path: root/src/first_app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/first_app.cpp')
-rwxr-xr-xsrc/first_app.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/first_app.cpp b/src/first_app.cpp
index a16ecde..561b693 100755
--- a/src/first_app.cpp
+++ b/src/first_app.cpp
@@ -46,14 +46,14 @@ void FirstApp::run() {
void FirstApp::loadGameObjects() {
- for(int x = 0; x < 10; x++) {
- for(int z = 0; z < 10; z++) {
+ for(int32_t x = 0; x < 10; x++) {
+ for(int32_t z = 0; z < 10; z++) {
Chunk* chunk = Chunk::newChunk(x, z, 53463);
}
}
- for(int x = 0; x < 10; x++) {
- for(int z = 0; z < 10; z++) {
+ for(int32_t x = 0; x < 10; x++) {
+ for(int32_t z = 0; z < 10; z++) {
Chunk* chunk = Chunk::getChunk(x,z);
chunk->createMesh();