mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix clang-tidy type promotion errors
This commit is contained in:
parent
229389b7f6
commit
9fcd7f2dc0
10 changed files with 20 additions and 17 deletions
|
@ -1305,7 +1305,7 @@ void ClientMap::updateTransparentMeshBuffers()
|
|||
ScopeProfiler sp(g_profiler, "CM::updateTransparentMeshBuffers", SPT_AVG);
|
||||
u32 sorted_blocks = 0;
|
||||
u32 unsorted_blocks = 0;
|
||||
f32 sorting_distance_sq = pow(m_cache_transparency_sorting_distance * BS, 2.0f);
|
||||
f32 sorting_distance_sq = std::pow(m_cache_transparency_sorting_distance * BS, 2.0f);
|
||||
|
||||
|
||||
// Update the order of transparent mesh buffers in each mesh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue