clutter_sini(): fixed reduction to 0,2pi
This commit is contained in:
parent
58aeeed192
commit
4085070479
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user