Originally Posted by Vrul
Resike's code does exactly what you asked for without a bunch of extra crap.
|
Skiping it was not meant as an offense. Sorry for that.
Actually it does not exactly the same as it doesn't takes the 0/360 degree threshold into account.