mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-04-06 07:23:39 +00:00
fileshredder - linux compile fix
This commit is contained in:
@@ -48,8 +48,8 @@ Color Color::getHSBColor(float hue, float saturation, float brightness)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
float h = (hue - (float)floor(hue)) * 6.0f;
|
float h = (hue - (float)Mth::floor(hue)) * 6.0f;
|
||||||
float f = h - (float)floor(h);
|
float f = h - (float)Mth::floor(h);
|
||||||
float p = brightness * (1.0f - saturation);
|
float p = brightness * (1.0f - saturation);
|
||||||
float q = brightness * (1.0f - saturation * f);
|
float q = brightness * (1.0f - saturation * f);
|
||||||
float t = brightness * (1.0f - (saturation * (1.0f - f)));
|
float t = brightness * (1.0f - (saturation * (1.0f - f)));
|
||||||
|
|||||||
Reference in New Issue
Block a user