]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - matrix3x4.c
put parentheses around parameters to min/max/bound macros
[xonotic/darkplaces.git] / matrix3x4.c
index a716b1202888aefb2e1af17ef1d0d571d302b081..a6a1291027d266b9f51a735562817851d122d873 100644 (file)
@@ -82,6 +82,7 @@ void Matrix3x4_CreateRotate (matrix3x4_t *out, float angle, float x, float y, fl
        y *= len;
        z *= len;
 
+       angle *= M_PI / 180.0;
        c = cos(angle);
        s = sin(angle);