MCPcopy Index your code
hub / github.com/benfry/processing4 / add

Method add

core/src/processing/core/PVector.java:433–438  ·  view source on GitHub ↗

Adds x, y, and z components to a vector, adds one vector to another, or adds two independent vectors together. The version of the method that adds two vectors together is a static method and returns a new PVector , the others act directly on the vector itself. See the examples for more context

(PVector v)

Source from the content-addressed store, hash-verified

431 * two independent vectors
432 */
433 public PVector add(PVector v) {
434 x += v.x;
435 y += v.y;
436 z += v.z;
437 return this;
438 }
439
440
441 /**

Callers 5

parseOBJMethod · 0.45
addMaterialMethod · 0.45
initFrameMethod · 0.45
setProcessingIconMethod · 0.45
placePresentMethod · 0.45

Calls 1

setMethod · 0.65

Tested by

no test coverage detected