From 1bece16fc08bc7bb9ddc4497ade05c911f12c3f7 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Thu, 16 Jun 2011 08:21:39 +0000 Subject: [PATCH] evas/canvas - just made standard computation. SVN revision: 60379 --- legacy/evas/src/lib/canvas/evas_map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/evas/src/lib/canvas/evas_map.c b/legacy/evas/src/lib/canvas/evas_map.c index d3968fe1b4..7899e1d01b 100644 --- a/legacy/evas/src/lib/canvas/evas_map.c +++ b/legacy/evas/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;