summaryrefslogtreecommitdiff
path: root/raylib.ads
diff options
context:
space:
mode:
authorrexim <reximkut@gmail.com>2024-03-21 02:28:47 +0700
committerrexim <reximkut@gmail.com>2024-03-21 02:28:47 +0700
commit3fad142df592a37458fd2f511f4688452ec41904 (patch)
tree0b27b94c31ed9e375c7dee90f9d88ea2ba694f3a /raylib.ads
parent1298c054ab13456a79a1945fd37720aa2ffee8e5 (diff)
Animate transition between the eye states
Diffstat (limited to 'raylib.ads')
-rw-r--r--raylib.ads7
1 files changed, 5 insertions, 2 deletions
diff --git a/raylib.ads b/raylib.ads
index 7cc5ddb..a58c34c 100644
--- a/raylib.ads
+++ b/raylib.ads
@@ -1,5 +1,4 @@
with Interfaces.C; use Interfaces.C;
-with Interfaces.C.Pointers;
with Raymath; use Raymath;
package Raylib is
@@ -13,7 +12,7 @@ package Raylib is
Import => True,
Convention => C,
External_Name => "CloseWindow";
- function Window_Should_Close return int
+ function Window_Should_Close return C_Bool
with
Import => True,
Convention => C,
@@ -206,4 +205,8 @@ package Raylib is
Import => True,
Convention => C,
External_Name => "DrawTriangle";
+
+ type Vector2_Array is array (size_t range <>) of aliased Vector2;
+
+ procedure Draw_Triangle_Strip(Points: Vector2_Array; C: Color);
end Raylib;