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

Method lerp

core/src/processing/core/PVector.java:942–947  ·  view source on GitHub ↗

( begin auto-generated from PVector_rotate.xml ) Linear interpolate the vector to another vector ( end auto-generated ) @webref pvector:method @usage web_application @brief Linear interpolate the vector to another vector @param v the vector to lerp to @param amt The amount of interpolation; some

(PVector v, float amt)

Source from the content-addressed store, hash-verified

940 * @see PApplet#lerp(float, float, float)
941 */
942 public PVector lerp(PVector v, float amt) {
943 x = PApplet.lerp(x, v.x, amt);
944 y = PApplet.lerp(y, v.y, amt);
945 z = PApplet.lerp(z, v.z, amt);
946 return this;
947 }
948
949
950 /**

Callers

nothing calls this directly

Calls 2

lerpMethod · 0.95
copyMethod · 0.45

Tested by

no test coverage detected