Browse Source

Unnecessary cast

pull/21/head
Constantine Tarasenkov 10 years ago
parent
commit
2e60b35c8e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/raymath.c

+ 1
- 1
src/raymath.c View File

@ -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 = p">(float)(angle * (PI / 180.0));
float a = angle * (PI / 180.0f);
float sina = sin(a);
float cosa = cos(a);
float cosb = 1.0f - cosa;

Loading…
Cancel
Save