Finding rotation based off mouse

BlitzMax Forums/BlitzMax Programming/Finding rotation based off mouse

Thank you floyd, almost perfect. It tends to be off by 180 or 90 degrees sometimes depending which corner is selected.

I am not yet sure why.

[edit] It seems to vibrate or flip rapidly, I will test.