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

Method div

core/src/processing/core/PVector.java:635–640  ·  view source on GitHub ↗

( begin auto-generated from PVector_div.xml ) Divides a vector by a scalar or divides one vector by another. ( end auto-generated ) @webref pvector:method @usage web_application @brief Divide a vector by a scalar @param n the number by which to divide the vector

(float n)

Source from the content-addressed store, hash-verified

633 * @param n the number by which to divide the vector
634 */
635 public PVector div(float n) {
636 x /= n;
637 y /= n;
638 z /= n;
639 return this;
640 }
641
642
643 /**

Callers 1

normalizeMethod · 0.95

Calls 1

setMethod · 0.65

Tested by

no test coverage detected