aresrpg / aresrpg-engine

Voxel rendering engine
1 stars 0 forks source link

Fix/improve showmaparoundposition performance #23

Closed piellardj closed 3 months ago

piellardj commented 3 months ago

This PR fixes a bug where when called several times,Terrain.showMapAroundPosition() kept freeing and rebuilding the same patches over and over if the cache was too small.