mixins: remove extended visiblity maps

They ended up not being used on GPU, and the time spent calculating them
noticibly slows down the client when resizing it.
This commit is contained in:
Adam
2018-11-19 12:41:01 -05:00
parent 3286594d6b
commit 98b4e5aede

View File

@@ -191,9 +191,9 @@ public abstract class RSSceneMixin implements RSScene
if (tile != null)
{
if (tile.getPhysicalLevel() <= plane
&& (renderArea[x - screenCenterX + MAX_DISTANCE][y - screenCenterZ + MAX_DISTANCE]
|| tileHeights[z][x][y] - cameraY >= 2000
|| isGpu))
&& (isGpu
|| renderArea[x - screenCenterX + DEFAULT_DISTANCE][y - screenCenterZ + DEFAULT_DISTANCE]
|| tileHeights[z][x][y] - cameraY >= 2000))
{
tile.setDraw(true);
tile.setVisible(true);