mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 04:22:05 +00:00
effect: fix conversion from degrees to radians
This commit is contained in:
parent
ec26466cdc
commit
3d806f498f
@ -91,7 +91,7 @@ clutter_page_turn_effect_deform_vertex (ClutterDeformEffect *effect,
|
|||||||
if (self->period == 0.0)
|
if (self->period == 0.0)
|
||||||
return;
|
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
|
/* Rotate the point around the centre of the page-curl ray to align it with
|
||||||
* the y-axis.
|
* the y-axis.
|
||||||
|
Loading…
Reference in New Issue
Block a user