17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-19 02:39:19 +02:00

refactor(sonar): remove empty statements, one declaration per statement (cpp:S1116, cpp:S1659)

This commit is contained in:
jerrrrycho
2026-10-10 15:03:30 +02:00
parent 3d46090e49
commit c4738dbc87
35 changed files with 315 additions and 180 deletions

View File

@@ -1565,7 +1565,7 @@ debug_panel::render_section_settings() {
ImGui::SliderInt( ( std::to_string( Global.gfx_shadow_rank_cutoff ) + "###shadowrankcutoff" ).c_str(), &Global.gfx_shadow_rank_cutoff, 1, 3, "Shadow ranks" );
if( ImGui::SliderFloat( ( to_string( std::abs( Global.gfx_shadow_angle_min ), 2 ) + "###shadowanglecutoff" ).c_str(), &Global.gfx_shadow_angle_min, -1.0, -0.2, "Shadow angle cutoff" ) ) {
Global.gfx_shadow_angle_min = quantize( Global.gfx_shadow_angle_min, 0.05f );
};
}
if( DebugModeFlag ) {
// sky sliders
{