fixed clutter cos functions; fixed tilt calculations in elliptic path

This commit is contained in:
Tomas Frydrych
2007-05-29 09:21:18 +00:00
parent 5b845d3940
commit 6e39efb9aa
4 changed files with 37 additions and 25 deletions

View File

@ -171,7 +171,7 @@ ClutterFixed clutter_tani (ClutterAngle angle);
*
* Since: 0.2
*/
#define clutter_cosx(angle) clutter_fixed_sin((angle) - CFX_PI_2)
#define clutter_cosx(angle) clutter_fixed_sin((angle) + CFX_PI_2)
/**
* clutter_cosi:
@ -188,7 +188,7 @@ ClutterFixed clutter_tani (ClutterAngle angle);
*
* Since: 0.2
*/
#define clutter_cosi(angle) clutter_sini((angle) - 256)
#define clutter_cosi(angle) clutter_sini((angle) + 256)
ClutterFixed clutter_sqrtx (ClutterFixed x);
gint clutter_sqrti (gint x);