From 635576972024319c15141645d3304db8cd1d1e19 Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Mon, 8 Aug 2022 13:50:34 -0400 Subject: basic bezier path system added --- my_math.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'my_math.h') diff --git a/my_math.h b/my_math.h index e880f82..0f9e429 100644 --- a/my_math.h +++ b/my_math.h @@ -526,6 +526,14 @@ Inner(v2 A, v2 B) return Result; } +inline real32 +Inner(ImVec2 A, ImVec2 B) +{ + real32 Result = A.x * B.x + A.y * B.y; + + return Result; +} + inline real32 LengthSq(v2 A) { -- cgit v1.2.3