-
Notifications
You must be signed in to change notification settings - Fork 0
Point_direction
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Calculates the direction from a given point to the second given point in degrees and returns the result.
- x1: (x1,y1) represent the first coordinate
- y1
- x2: (x2,y2) represent the second coordinate
- y2
double: Returns the angle in degrees.
// demonstrates getting the angle in degrees from one point to another
var ptdir;
ptdir = point_direction(0, 0, 5, 5);NOTOC
Category:Function:Real
This is number 1