We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62737ce commit 6392024Copy full SHA for 6392024
core/src/processing/core/PVector.java
@@ -356,13 +356,8 @@ static public PVector fromAngle(float angle, PVector target) {
356
}
357
358
359
- public PVector copy() {
360
- return new PVector(x, y, z);
361
- }
362
-
363
364
/**
365
- * ( begin auto-generated from PVector_get.xml )
+ * ( begin auto-generated from PVector_copy.xml )
366
*
367
* Gets a copy of the vector, returns a PVector object.
368
@@ -372,6 +367,11 @@ public PVector copy() {
372
* @usage web_application
373
* @brief Get a copy of the vector
374
369
*/
370
+ public PVector copy() {
371
+ return new PVector(x, y, z);
+ }
+
375
@Deprecated
376
public PVector get() {
377
return copy();
0 commit comments