| 36 | namespace |
| 37 | { |
| 38 | inline float Sqr(float x) { return x*x; } |
| 39 | inline int Clamp(int x, int lower, int upper) { return min(max(lower, x), upper); } |
| 40 | |
| 41 | uint32_t Sample(const uint32_t* image, uint32_t w, uint32_t h, int x, int y) |
nothing calls this directly
no outgoing calls
no test coverage detected