参考 copy()

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!

相关参考