| 30 | |
| 31 | template<typename InT, typename LocT> |
| 32 | InT linearInterpFunc(InT val[2], LocT ratio) { |
| 33 | return (1 - ratio) * val[0] + ratio * val[1]; |
| 34 | } |
| 35 | |
| 36 | template<typename InT, typename LocT> |
| 37 | InT bilinearInterpFunc(InT val[2][2], LocT xratio, LocT yratio) { |
no outgoing calls
no test coverage detected