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)
| 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 | /** |
no test coverage detected