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 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