Performs a linear interpolation between p0 and p1.
(t, p0, p1)
| 688 | |
| 689 | |
| 690 | def linearInterpolate(t, p0, p1): |
| 691 | """ |
| 692 | Performs a linear interpolation between p0 and p1. |
| 693 | """ |
| 694 | if _isIterable(p0): |
| 695 | p0 = om2.MVector(p0) |
| 696 | p1 = om2.MVector(p1) |
| 697 | return p0 + ((p1 - p0) * t) |
| 698 | |
| 699 | |
| 700 | def bezierInterpolate(t, points): |
nothing calls this directly
no test coverage detected