Name | angleBetween() |
||||
---|---|---|---|---|---|
Examples |
v1 = PVector(10, 20) v2 = PVector(60, 80) a = PVector.angleBetween(v1, v2) print(degrees(a)) # Prints "10.304845809936523" | ||||
Description | Calculates and returns the angle (in radians) between two vectors. | ||||
Syntax | .angleBetween(v1, v2) | ||||
Parameters |
|
Updated on Tue Feb 27 14:07:12 2024.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License