| 528 | |
| 529 | // Linear interpolation |
| 530 | template<typename T> T Lerp(const T& x, const T& y, float s) |
| 531 | { |
| 532 | return x + (y - x) * s; |
| 533 | } |
| 534 | |
| 535 | template<typename T> T Min(T a, T b) |
| 536 | { |
nothing calls this directly
no outgoing calls
no test coverage detected