From: Enlightenment S. <no-...@en...> - 2011-06-16 08:21:50
|
Log: evas/canvas - just made standard computation. Author: hermet Date: 2011-06-16 01:21:39 -0700 (Thu, 16 Jun 2011) New Revision: 60379 Trac: http://trac.enlightenment.org/e/changeset/60379 Modified: trunk/evas/src/lib/canvas/evas_map.c Modified: trunk/evas/src/lib/canvas/evas_map.c =================================================================== --- trunk/evas/src/lib/canvas/evas_map.c 2011-06-16 08:20:48 UTC (rev 60378) +++ trunk/evas/src/lib/canvas/evas_map.c 2011-06-16 08:21:39 UTC (rev 60379) @@ -715,8 +715,8 @@ 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; |