From 0997f49311b29138ad278dd567ec36b6c0b3d2c8 Mon Sep 17 00:00:00 2001 From: Shamus Young Date: Tue, 5 May 2009 22:48:17 +0000 Subject: [PATCH] Added a missing 'f', which flagged warnings on some compilers. --- Math.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Math.cpp b/Math.cpp index 0aecaba..d0fd3f5 100644 --- a/Math.cpp +++ b/Math.cpp @@ -107,7 +107,7 @@ float MathAngleDifference (float a1, float a2) float result; - result = (float)fmod (a1 - a2, 360.0); + result = (float)fmod (a1 - a2, 360.0f); if (result > 180.0) return result - 360.0F; if (result < -180.0)