Help with math formula

Blitz3D Forums/Blitz3D Beginners Area/Help with math formula

The angle should be

ATan2( extendedpointy - centerpointy, extendedpointx - centerpointx )