mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 00:00:26 +02:00
Fix ifs clang-format didn’t get
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user