refactor: removed unused code
This commit is contained in:
@@ -78,26 +78,6 @@ GL::VertexArray loadWorldModel(const td::game::World* world) {
|
|||||||
(float)chunkX + tileX + 1, (float)chunkY + tileY + 1,
|
(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);
|
const td::game::Color* tileColor = world->getTileColor(tile);
|
||||||
|
|
||||||
for (int i = 0; i < 6; i++) {
|
for (int i = 0; i < 6; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user