mirror of https://github.com/skeeto/pixelcity.git
Removed framerate limit on visibility updates. The performance gain was too small to measure, and it led to single-frame instances of missing buildings when the camera jumped large distances.
This commit is contained in:
parent
7bc7366e32
commit
00afbde126
|
@ -68,7 +68,6 @@ void VisibleUpdate (void)
|
|||
float angle_diff;
|
||||
float target_x, target_z;
|
||||
|
||||
LIMIT_INTERVAL (10);
|
||||
//Clear the visibility table
|
||||
ZeroMemory (vis_grid, sizeof (vis_grid));
|
||||
//Calculate which cell the camera is in
|
||||
|
|
Loading…
Reference in New Issue