Skip to content

Commit 8dc70eb

Browse files
committedNov 25, 2020
Fix camera panning glitches (partially revert 10489.)
1 parent 7827302 commit 8dc70eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎src/client/clientmap.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,10 @@ void ClientMap::updateDrawList()
124124

125125
const v3f camera_position = m_camera_position;
126126
const v3f camera_direction = m_camera_direction;
127-
const f32 camera_fov = m_camera_fov;
127+
128+
// Use a higher fov to accomodate faster camera movements.
129+
// Blocks are cropped better when they are drawn.
130+
const f32 camera_fov = m_camera_fov * 1.1f;
128131

129132
v3s16 cam_pos_nodes = floatToInt(camera_position, BS);
130133
v3s16 p_blocks_min;

0 commit comments

Comments
 (0)
Please sign in to comment.