diff options
Diffstat (limited to 'my_math.h')
-rw-r--r-- | my_math.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -66,6 +66,16 @@ inline v2 V2(ImVec2 A) return(Result); } +inline ImVec2 V2(v2 A) +{ + struct ImVec2 Result; + + Result.x = A.x; + Result.y = A.y; + + return(Result); +} + inline v2i V2i(int32 x, int32 y) { v2i Result; |