Name | heading() |
---|---|
Examples |
v = PVector(10.0, 20.0) print(v.heading()) # Prints "1.1071487665176392" |
Description | Calculates the angle of rotation for a vector (2D vectors only). |
Syntax | .heading() |
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