From 2e60b35c8e50df898a84ac4e26d59c24e56e9504 Mon Sep 17 00:00:00 2001 From: Constantine Tarasenkov Date: Tue, 3 Feb 2015 03:05:52 +0300 Subject: [PATCH] Unnecessary cast --- src/raymath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raymath.c b/src/raymath.c index 194b23ff9..037ce618d 100644 --- a/src/raymath.c +++ b/src/raymath.c @@ -139,7 +139,7 @@ void VectorRotate(Vector3 *v, Vector3 pivot, Vector3 axis, float angle) float ty = v->y - pivot.y; float tz = v->z - pivot.z; - float a = (float)(angle * (PI / 180.0)); + float a = angle * (PI / 180.0f); float sina = sin(a); float cosa = cos(a); float cosb = 1.0f - cosa;