1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

trying something else... also replaced M_PI by PI everywhere

This commit is contained in:
Kahrl 2011-09-08 16:10:44 +02:00
parent 71418639d3
commit e4cb004460
4 changed files with 10 additions and 9 deletions

View file

@ -584,7 +584,7 @@ void RemoteClient::GetNextBlocks(Server *server, float dtime,
Don't generate or send if not in sight
*/
if(isBlockInSight(p, camera_pos, camera_dir, M_PI, 10000*BS) == false)
if(isBlockInSight(p, camera_pos, camera_dir, PI, 10000*BS) == false)
{
continue;
}