Fix camera panning glitches (partially revert 10489.)

This commit is contained in:
Lars 2020-11-24 09:23:18 -08:00 committed by lhofhansl
parent 78273027bf
commit 8dc70ebb93

@ -124,7 +124,10 @@ void ClientMap::updateDrawList()
const v3f camera_position = m_camera_position; const v3f camera_position = m_camera_position;
const v3f camera_direction = m_camera_direction; const v3f camera_direction = m_camera_direction;
const f32 camera_fov = m_camera_fov;
// Use a higher fov to accomodate faster camera movements.
// Blocks are cropped better when they are drawn.
const f32 camera_fov = m_camera_fov * 1.1f;
v3s16 cam_pos_nodes = floatToInt(camera_position, BS); v3s16 cam_pos_nodes = floatToInt(camera_position, BS);
v3s16 p_blocks_min; v3s16 p_blocks_min;