mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 09:55:22 +02:00
Add unit tests for isBlockInSight()
This commit is contained in:
@@ -289,7 +289,7 @@ void RemoteClient::GetNextBlocks (
|
||||
FOV setting. The default of 72 degrees is fine.
|
||||
Also retrieve a smaller view cone in the direction of the player's
|
||||
movement.
|
||||
(0.1 is about 4 degrees)
|
||||
(0.1 is about 5 degrees)
|
||||
*/
|
||||
f32 dist;
|
||||
if (!(isBlockInSight(p, camera_pos, camera_dir, camera_fov,
|
||||
|
Reference in New Issue
Block a user