mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Instrument touchMapBlocks and block loading/deserialization. (#13314)
This commit is contained in:
@@ -623,6 +623,8 @@ void ClientMap::touchMapBlocks()
|
||||
if (m_control.range_all || m_loops_occlusion_culler)
|
||||
return;
|
||||
|
||||
ScopeProfiler sp(g_profiler, "CM::touchMapBlocks()", SPT_AVG);
|
||||
|
||||
v3s16 cam_pos_nodes = floatToInt(m_camera_position, BS);
|
||||
|
||||
v3s16 p_blocks_min;
|
||||
|
Reference in New Issue
Block a user