Name | get() |
---|---|
Examples |
size(100, 100) v1 = PVector(20.0, 30.0, 40.0) v2 = PVector() v2 = v1.get() print(v2.x) # Prints "20.0" print(v2.y) # Prints "30.0" print(v2.z) # Prints "40.0" |
Description | Gets a copy of the vector, returns a PVector object. |
Syntax | .get() .get(target) |
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