| point2line index |
||||
| Name | angleBetween ( ) | |||
| Description | Returns the angle between the forward angles of two vectors. The result is always positive. If you also need to know the rotational direction (clockwise or counter-clockwise) use use angleFromTo(). |
|||
| Syntax | angleBetween(vector1, vector2); |
|||
| Parameters |
|
|||
| Returns | angle in radians, or NaN if vectors are parallel (float) |
|||
| Usage | Web & Application | |||
| Related | ||||
| Examples | |
|||