summaryrefslogtreecommitdiff
path: root/raymath.ads
diff options
context:
space:
mode:
authorrexim <reximkut@gmail.com>2024-03-20 03:05:59 +0700
committerrexim <reximkut@gmail.com>2024-03-20 03:05:59 +0700
commited1ea1aa66f2b576623606de3a29767cb860ff15 (patch)
tree9b912e7184e92e801cf52927163635fae68e4266 /raymath.ads
parentc15019b6c2595caf56af1f509679e32e2879ed43 (diff)
Implement eyes for the bosses
Diffstat (limited to 'raymath.ads')
-rw-r--r--raymath.ads10
1 files changed, 10 insertions, 0 deletions
diff --git a/raymath.ads b/raymath.ads
index 1d38226..4447d45 100644
--- a/raymath.ads
+++ b/raymath.ads
@@ -26,6 +26,16 @@ package Raymath is
Import => True,
Convention => C,
External_Name => "Vector2Scale";
+ function Vector2_Rotate(V: Vector2; Angle: C_Float) return Vector2
+ with
+ Import => True,
+ Convention => C,
+ External_Name => "Vector2Rotate";
+ function Vector2_Line_Angle(Start, Finish: Vector2) return C_Float
+ with
+ Import => True,
+ Convention => C,
+ External_Name => "Vector2LineAngle";
type Vector3 is record
x: C_float;
y: C_float;