We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11f3deb commit 521a042Copy full SHA for 521a042
src/client/clientmap.cpp
@@ -124,12 +124,6 @@ void ClientMap::updateDrawList()
124
125
v3f camera_position = m_camera_position;
126
v3f camera_direction = m_camera_direction;
127
- f32 camera_fov = m_camera_fov;
128
-
129
- // Use a higher fov to accomodate faster camera movements.
130
- // Blocks are cropped better when they are drawn.
131
- // Or maybe they aren't? Well whatever.
132
- camera_fov *= 1.2;
133
134
v3s16 cam_pos_nodes = floatToInt(camera_position, BS);
135
v3s16 p_blocks_min;
@@ -190,7 +184,7 @@ void ClientMap::updateDrawList()
190
184
191
185
float d = 0.0;
192
186
if (!isBlockInSight(block->getPos(), camera_position,
193
- camera_direction, camera_fov, range, &d))
187
+ camera_direction, m_camera_fov, range, &d))
194
188
continue;
195
189
196
0 commit comments