mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-06-08 11:03:14 +00:00
Cleanups
This commit is contained in:
@@ -423,6 +423,7 @@ void Chunk::rebuild()
|
||||
Region region(level, x0 - r, y0 - r, z0 - r, x1 + r, y1 + r, z1 + r, r);
|
||||
TileRenderer tileRenderer(®ion, this->x, this->y, this->z, tileIds);
|
||||
|
||||
/*
|
||||
// AP - added a caching system for Chunk::rebuild to take advantage of
|
||||
// Basically we're storing of copy of the tileIDs array inside the region so that calls to Region::getTile can grab data
|
||||
// more quickly from this array rather than calling CompressedTileStorage. On the Vita the total thread time spent in
|
||||
@@ -432,7 +433,7 @@ void Chunk::rebuild()
|
||||
int zc = z >> 4;
|
||||
region.setCachedTiles(tileIds, xc, zc);
|
||||
#endif
|
||||
|
||||
*/
|
||||
PIXBeginNamedEvent(0,"Rebuild section C");
|
||||
Tesselator::Bounds bounds; // 4J MGH - added
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user