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 Mon Sep 21 15:53:25 2020.
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