Get your own free workspace
View
 

ATan2

Page history last edited by Gamemaster 3 years, 9 months ago

 

 

ATan2

Usage:

                ATan2(x, y)

Description:

The ATan2 command returns the angle in degrees between the X axis and the line between points (0, 0) and (x, y). The angle returned will be between -180 and 180.

Example:

                Function Main()
                        Result = ATan2(1, 1)
                        Output(Actor(), Result) // Displays 45
                        Return()

                End Function

Comments (0)

You don't have permission to comment on this page.