Calculates a linear (interpolation) value over t.
name | type | description |
---|---|---|
p0 | number |
The first point. |
p1 | number |
The second point. |
t | number |
The percentage between p0 and p1 to return, represented as a number between 0 and 1. |
The step t% of the way between p0 and p1.