diff options
author | rexim <reximkut@gmail.com> | 2024-03-20 03:05:59 +0700 |
---|---|---|
committer | rexim <reximkut@gmail.com> | 2024-03-20 03:05:59 +0700 |
commit | ed1ea1aa66f2b576623606de3a29767cb860ff15 (patch) | |
tree | 9b912e7184e92e801cf52927163635fae68e4266 /raymath.ads | |
parent | c15019b6c2595caf56af1f509679e32e2879ed43 (diff) |
Implement eyes for the bosses
Diffstat (limited to 'raymath.ads')
-rw-r--r-- | raymath.ads | 10 |
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; |