| 961 | } |
| 962 | |
| 963 | float CubicInterpolate( float pm1, float p0, float p1, float p2, float s ) |
| 964 | { |
| 965 | return p0 + 0.5f * s * ( p1 - pm1 + s * ( 2.f * pm1 - 5.f * p0 + 4.f * p1 - p2 + s * ( 3.f * ( p0 - p1 ) + p2 - pm1 ) ) ); |
| 966 | } |
| 967 | |
| 968 | ///////////////////////////////////////////////////////////////////////////////////////// |
| 969 | // random functions |
no outgoing calls
no test coverage detected