Loading...
Searching...
No Matches
Go to the documentation of this file.
7#define CLAMP(value, min_value, max_value) \
9 if (value < min_value) { \
11 } else if (value > max_value) { \
16#define CLAMP2(v1, v2, min_value, max_value) \
18 if (v1 < min_value) { \
21 if (v2 > max_value) { \