From 3d806f498f1c4a02b2a166bdd5e124e7e11239cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Fri, 23 Jul 2010 12:16:37 +0100 Subject: [PATCH] effect: fix conversion from degrees to radians --- clutter/clutter-page-turn-effect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-page-turn-effect.c b/clutter/clutter-page-turn-effect.c index 4c8227a..2246b83 100644 --- a/clutter/clutter-page-turn-effect.c +++ b/clutter/clutter-page-turn-effect.c @@ -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. -- 2.7.4