diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-08-08 13:50:34 -0400 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-08-08 13:50:34 -0400 |
commit | 635576972024319c15141645d3304db8cd1d1e19 (patch) | |
tree | 425bcebd621449cd89973fbf4803c22a9b83a335 /my_math.h | |
parent | bccb1d61907fea45c5e84b29499989f7cee104a5 (diff) |
basic bezier path system added
Diffstat (limited to 'my_math.h')
-rw-r--r-- | my_math.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -527,6 +527,14 @@ Inner(v2 A, v2 B) } inline real32 +Inner(ImVec2 A, ImVec2 B) +{ + real32 Result = A.x * B.x + A.y * B.y; + + return Result; +} + +inline real32 LengthSq(v2 A) { real32 Result = Inner(A, A); |