http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/show_bug.cgi?id=477
------- Comment #3 from [EMAIL PROTECTED] 2007-10-02 22:05 ------- Adam: it should wait until the new sprite format is implemented. Otherwise, it could only work for most types of graphics (square ones), and would exclude hero graphics. Raekuul: it's a very simple algorithym, it just involves transposing axis', as follows: Clockwise 90degrees= +x = +old y, +y = -old x (rotateCoord (x,y,w,h) -> (w-1)-y, x)) Counterclockwise 90degrees = +x = -old y, +y = +old x (rotateCoord (x,y,w,h) -> (y, (h-1) - x)) 180degrees = (rotateCoord (x,y,w,h) -> (w-1) - x,(h-1)-y) I believe it would be very useful, especially for tiles. -- Configure bugmail: http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
