From 22375157933ac2d76f36451d43ed6922165fc126 Mon Sep 17 00:00:00 2001 From: Shredder Date: Mon, 6 Apr 2026 02:15:35 +0500 Subject: [PATCH] fileshredder - linux compile fix --- src/util/Color.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/Color.cpp b/src/util/Color.cpp index 9afaa5c..4cc9fba 100644 --- a/src/util/Color.cpp +++ b/src/util/Color.cpp @@ -48,8 +48,8 @@ Color Color::getHSBColor(float hue, float saturation, float brightness) } else { - float h = (hue - (float)floor(hue)) * 6.0f; - float f = h - (float)floor(h); + float h = (hue - (float)Mth::floor(hue)) * 6.0f; + float f = h - (float)Mth::floor(h); float p = brightness * (1.0f - saturation); float q = brightness * (1.0f - saturation * f); float t = brightness * (1.0f - (saturation * (1.0f - f)));