linear(p0, p1, t) → {number}
Calculates a linear (interpolation) value over t.
Parameters
Name | Type | Description |
---|---|---|
p0 | number | |
p1 | number | |
t | number | A value between 0 and 1. |
Returns
number -
- Source code: math/Math.js (Line 831)
linear(p0, p1, t) → {number}
Calculates a linear (interpolation) value over t.
Name | Type | Description |
---|---|---|
p0 | number | |
p1 | number | |
t | number | A value between 0 and 1. |
Please login to continue.