( 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)
| 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 | /** |