diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-08-08 17:12:52 -0400 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-08-08 17:12:52 -0400 |
commit | f1e12e108869c560d92eb8803e4b5104c7d8f85d (patch) | |
tree | 5daf3348b04574cb2008cffc7fa76195218fc4ea /my_math.h | |
parent | 635576972024319c15141645d3304db8cd1d1e19 (diff) |
mask improvements; pen tool added
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) { |