From 4085070479119c225a3abd95dd704ce37a193338 Mon Sep 17 00:00:00 2001 From: Tomas Frydrych Date: Mon, 30 Apr 2007 08:39:15 +0000 Subject: [PATCH] clutter_sini(): fixed reduction to 0,2pi --- clutter/clutter-fixed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-fixed.c b/clutter/clutter-fixed.c index 6c254cb3b..f7d46da48 100644 --- a/clutter/clutter-fixed.c +++ b/clutter/clutter-fixed.c @@ -222,7 +222,7 @@ clutter_sini (ClutterAngle angle) } /* reduce to <0, 2*pi) */ - angle &= 0x7ff; + angle &= 0x3ff; /* reduce to first quadrant and sign */ if (angle > 512)