From a577712b445c32beac24a134b9fb852ab9983806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sat, 2 Dec 2017 18:21:21 -0800 Subject: [PATCH] Cleanup. --- src/math.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math.cpp b/src/math.cpp index 723c270..5ace64b 100644 --- a/src/math.cpp +++ b/src/math.cpp @@ -718,7 +718,7 @@ namespace bx const float qz = flerp(pw, pz, s1); const float qw = flerp(rr, px, s1); - const float dd = qx - fmin(qw, qy); + const float dd = qx - min(qw, qy); const float ee = 1.0e-10f; _hsv[0] = fabs(qz + (qw - qy) / (6.0f * dd + ee) );