This commit is contained in:
MarcEricMartel 2021-12-18 15:36:21 -05:00
parent ae8f87b047
commit a226d95923

View File

@ -45,7 +45,7 @@ private:
Array2d<Chunk*> m_chunks = Array2d<Chunk*>(WORLD_SIZE_X, WORLD_SIZE_Y);
std::vector<Chunk*> m_tbDeleted;
unsigned int m_center[2] = { UINT16_MAX / 2 - WORLD_SIZE_X / 2, UINT16_MAX / 2 - WORLD_SIZE_Y / 2 };
unsigned int m_center[2] = { UINT16_MAX / 2 - WORLD_SIZE_X, UINT16_MAX / 2 - WORLD_SIZE_Y };
void UpdateChunk(int& updates, unsigned int chx, unsigned int chy, BlockInfo* blockinfo[BTYPE_LAST]);
void RenderWorld(int& rendercount, Player& player, Transformation& world, Shader& shader);