effect: fix conversion from degrees to radians

This commit is contained in:
Øyvind Kolås 2010-07-23 12:16:37 +01:00
parent ec26466cdc
commit 3d806f498f

View File

@ -91,7 +91,7 @@ clutter_page_turn_effect_deform_vertex (ClutterDeformEffect *effect,
if (self->period == 0.0)
return;
radians = self->angle * 180.0f / G_PI;
radians = self->angle / (180.0f / G_PI);
/* Rotate the point around the centre of the page-curl ray to align it with
* the y-axis.