MCPcopy Index your code
hub / github.com/processing/processing / mult

Method mult

core/src/processing/core/PVector.java:593–598  ·  view source on GitHub ↗

( begin auto-generated from PVector_mult.xml ) Multiplies a vector by a scalar or multiplies one vector by another. ( end auto-generated ) @webref pvector:method @usage web_application @brief Multiply a vector by a scalar @param n the number to multiply with the vector

(float n)

Source from the content-addressed store, hash-verified

591 * @param n the number to multiply with the vector
592 */
593 public PVector mult(float n) {
594 x *= n;
595 y *= n;
596 z *= n;
597 return this;
598 }
599
600
601 /**

Callers 2

limitMethod · 0.95
setMagMethod · 0.95

Calls 1

setMethod · 0.65

Tested by

no test coverage detected