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:
parent
71418639d3
commit
e4cb004460
4 changed files with 10 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue