chore: clean up LevelRenderer diffs
This commit is contained in:
1 parent
d2e77c63ad
commit
73a74f4872
1 file changed
+2
-1
@@ -2255,6 +2255,7 @@ bool LevelRenderer::updateDirtyChunks() {
|
||||
// int64_t startTime = System::currentTimeMillis();
|
||||
|
||||
// app.DebugPrintf("Rebuilding permaChunk %d\n", index);
|
||||
|
||||
permaChunk[index].rebuild();
|
||||
|
||||
if (index != 0)
|
||||
@@ -2493,7 +2494,7 @@ void LevelRenderer::renderHitOutline(std::shared_ptr<Player> player,
|
||||
|
||||
AABB bb = Tile::tiles[tileId]
|
||||
->getTileAABB(level[iPad], h->x, h->y, h->z)
|
||||
.grow(0.002f, 0.002f, 0.002f)
|
||||
.grow(ss, ss, ss)
|
||||
.move(-xo, -yo, -zo);
|
||||
|
||||
render(&bb);
|
||||
|
||||
Reference in new issue
Block a user