From aebeabdaf1a2eb359874c76c657d27b9a0fb8e25 Mon Sep 17 00:00:00 2001 From: hermet Date: Thu, 16 Jun 2011 08:21:39 +0000 Subject: [PATCH] evas/canvas - just made standard computation. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@60379 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/canvas/evas_map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/canvas/evas_map.c b/src/lib/canvas/evas_map.c index d3968fe..7899e1d 100644 --- a/src/lib/canvas/evas_map.c +++ b/src/lib/canvas/evas_map.c @@ -715,8 +715,8 @@ evas_map_util_rotate(Evas_Map *m, double degrees, Evas_Coord cx, Evas_Coord cy) xx = (x * cos(r)); yy = (x * sin(r)); - x = xx + (y * cos(r + (M_PI / 2.0))); - y = yy + (y * sin(r + (M_PI / 2.0))); + x = xx - (y * sin(r)); + y = yy + (y * cos(r)); p->px = p->x = x + cx; p->py = p->y = y + cy; -- 2.7.4