Help with math formula

Blitz3D Forums/Blitz3D Beginners Area/Help with math formula

If the result is negative then add 360.


or just use Mod:

ATan2( extendedpointy - centerpointy, extendedpointx - centerpointx )  Mod 360