This site requires JavaScript, please enable it in your browser!
Greenfoot back
theguywholikeslinux
theguywholikeslinux wrote ...

2011/11/19

decimal (double) rotations of actors

theguywholikeslinux theguywholikeslinux

2011/11/19

#
It would be really great if I could rotate my actors by not just 360 degrees but decimal values aswell, eg 287.47°. I find it especially useful for large actors in high-rez worlds where 1 degree can be the difference of 10px at each end! I often find myself storing my rotation as a double and then having to cast it to an int each time I want to adjust it but still store the full precision double separately.
You need to login to post a reply.