Fix ifs clang-format didn’t get

This commit is contained in:
numzero
2023-10-04 21:10:58 +03:00
committed by sfan5
parent e5b97d440a
commit b01a3ea781
25 changed files with 69 additions and 138 deletions

View File

@ -685,8 +685,7 @@ inline void SColorHSL::fromRGB(const SColorf &color)
inline void SColorHSL::toRGB(SColorf &color) const
{
const f32 l = Luminance / 100;
if (core::iszero(Saturation)) // grey
{
if (core::iszero(Saturation)) { // grey
color.set(l, l, l);
return;
}