Calculates linear interpolation from one vector to another vector. (Just like regular lerp() , but for vectors.) Note that there is one static version of this method, and two non-static versions. The static version, lerp(v1, v2, amt) is given the two vecto
(PVector v, float amt)
| 922 | * @see PApplet#lerp(float, float, float) |
| 923 | */ |
| 924 | public PVector lerp(PVector v, float amt) { |
| 925 | x = PApplet.lerp(x, v.x, amt); |
| 926 | y = PApplet.lerp(y, v.y, amt); |
| 927 | z = PApplet.lerp(z, v.z, amt); |
| 928 | return this; |
| 929 | } |
| 930 | |
| 931 | |
| 932 | /** |