From 628549374081577096a72b31adc866d7e4cb3e13 Mon Sep 17 00:00:00 2001 From: Persson-dev Date: Tue, 9 Nov 2021 18:38:27 +0100 Subject: [PATCH] refactor: removed unused code --- src/render/loader/WorldLoader.cpp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/render/loader/WorldLoader.cpp b/src/render/loader/WorldLoader.cpp index fbbe91a..69ee536 100644 --- a/src/render/loader/WorldLoader.cpp +++ b/src/render/loader/WorldLoader.cpp @@ -78,26 +78,6 @@ GL::VertexArray loadWorldModel(const td::game::World* world) { (float)chunkX + tileX + 1, (float)chunkY + tileY + 1, }); - /*positions.push_back(chunkX + tileX); - positions.push_back(chunkY + tileY); - - positions.push_back(chunkX + tileX + 1); - positions.push_back(chunkY + tileY); - - positions.push_back(chunkX + tileX); - positions.push_back(chunkY + tileY + 1); - - - - positions.push_back(chunkX + tileX + 1); - positions.push_back(chunkY + tileY); - - positions.push_back(chunkX + tileX); - positions.push_back(chunkY + tileY + 1); - - positions.push_back(chunkX + tileX + 1); - positions.push_back(chunkY + tileY + 1);*/ - const td::game::Color* tileColor = world->getTileColor(tile); for (int i = 0; i < 6; i++) {