X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=matrix4x4.c;h=0039d806f76c84f9d99a1e8a81a7dd7338e7b684;hb=69978877aad18616e938bac5eeb77c5bf96f4cc4;hp=2fe644bf184a57eb7df84dbf0caebd485effa23e;hpb=cccb08a918197f44b1e6d63328bdd853b8829f55;p=xonotic%2Fdarkplaces.git diff --git a/matrix4x4.c b/matrix4x4.c index 2fe644bf..0039d806 100644 --- a/matrix4x4.c +++ b/matrix4x4.c @@ -98,6 +98,7 @@ void Matrix4x4_CreateRotate (matrix4x4_t *out, float angle, float x, float y, fl y *= len; z *= len; + angle *= M_PI / 180.0; c = cos(angle); s = sin(angle);