| 175 | } |
| 176 | |
| 177 | int clamp(const int v, const int min, const int max) { |
| 178 | return ((v < min) ? (min) : (v > max) ? (max) : v); |
| 179 | } |
| 180 | |
| 181 | float fclamp(const float v, const float min, const float max) { |
| 182 | return ((v < min) ? (min) : (v > max) ? (max) : v); |
no outgoing calls
no test coverage detected