evas/canvas - just made standard computation.
authorChunEon Park <hermet@hermet.pe.kr>
Thu, 16 Jun 2011 08:21:39 +0000 (08:21 +0000)
committerChunEon Park <hermet@hermet.pe.kr>
Thu, 16 Jun 2011 08:21:39 +0000 (08:21 +0000)
SVN revision: 60379

legacy/evas/src/lib/canvas/evas_map.c

index d3968fe..7899e1d 100644 (file)
@@ -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;