Help with math formula

Blitz3D Forums/Blitz3D Beginners Area/Help with math formula

Hi
I know what all the varibles are in this equation except for angle. could someone help me restructure this formula to find the angle varible.

extendedpointx# = centerpointx# + ( Cos#(angle#) * distance# )
extendedpointy# = centerpointy# + ( Sin#(angle#) * distance# )

Thanks