copy()

Returns a copy of the p5.Vector object.

예제

구문

copy()
copy(v)

매개변수

v
p5.Vector:

the p5.Vector to create a copy of

Returns

p5.Vector: copy of the p5.Vector object.
Notice any errors or typos? Please let us know. Please feel free to edit src/math/p5.Vector.js and open a pull request!

관련 레퍼런스