diff options
Diffstat (limited to 'my_math.h')
-rw-r--r-- | my_math.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -577,6 +577,11 @@ Ceil(real32 A, real32 B) return A; } +inline bool32 +TestUV(v2 UV) { + return (UV.x <= 1.0f && UV.x >= 0.0f && UV.y <= 1.0f && UV.y >= 0.0f); +} + inline real32 Clamp(real32 A, real32 B, real32 C) { |