Core Function Angle2D
From Sputnik Wiki
Angle2D( <x1>, <y1>, <x2>, <y2> )
Contents |
Description
Calculates the angle of a line defined by two points on a 2D surface.
Parameters
x1
The point on the x-axis of the first point.
y1
The point on the y-axis of the first point.
x2
The point on the x-axis of the second point.
y2
The point on the y-axis of the second point.
Return Value
Calculates the angle of a line defined by two points on a 2D surface and returns the result.
Remarks
None.
Example
say Angle2D(10, 20, 30, 40); // 45