This commit is contained in:
MarcEricMartel
2021-12-06 12:05:05 -05:00
parent d00acca227
commit 7bf926378b
2 changed files with 2 additions and 6 deletions

View File

@@ -62,10 +62,7 @@ void Chunk::CheckNeighbors(int x, int z, World* world) {
world->ChunkAt((m_posX - cx) * CHUNK_SIZE_X, 1, (m_posY - cy + 1) * CHUNK_SIZE_Z)->MakeDirty();
}
void Chunk::GetPosition(int& x, int& y) const {
x = m_posX;
y = m_posY;
}
void Chunk::GetPosition(int& x, int& y) const { x = m_posX; y = m_posY; }
void Chunk::Update(BlockInfo* blockinfo[BTYPE_LAST], World* world) {
float u, v, s;