[clutter-alpha.c.0.patch] Normalizes sine values [0,1] before calculating alpha
authorRobert Bragg <robert@linux.intel.com>
Tue, 6 Jan 2009 18:45:34 +0000 (18:45 +0000)
committerRobert Bragg <robert@linux.intel.com>
Tue, 6 Jan 2009 18:54:00 +0000 (18:54 +0000)
commite42d756a69309d1651c13bd1eb79c2c3dff86a0f
treef12c9c35e605f1a9f5eb1442f724cd514dea08bc
parente8915fcb12cd402cadcdb5e2cfa28a5fc9765a71
[clutter-alpha.c.0.patch] Normalizes sine values [0,1] before calculating alpha

The previous patch broke some of the normalization done before the sine value
gets multiplied with CLUTTER_ALPHA_MAX. This e.g. broke test-actors when sine
values went through to -1, as the o-hands were scaled so large all you saw was
the red 'O'.
fixed-to-float-patches/clutter-alpha.c.0.patch