clutter_sini(): fixed reduction to 0,2pi

This commit is contained in:
Tomas Frydrych 2007-04-30 08:39:15 +00:00
parent 58aeeed192
commit 4085070479

View File

@ -222,7 +222,7 @@ clutter_sini (ClutterAngle angle)
} }
/* reduce to <0, 2*pi) */ /* reduce to <0, 2*pi) */
angle &= 0x7ff; angle &= 0x3ff;
/* reduce to first quadrant and sign */ /* reduce to first quadrant and sign */
if (angle > 512) if (angle > 512)