mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-05-16 04:17:39 +01:00
3 lines
96 B
Plaintext
3 lines
96 B
Plaintext
#define Clamp(x, y, z) (x <= y ? y : (x >= z ? z : x))
|
|
#define CLAMP01(x) (Clamp(x, 0, 1))
|