From 3fad142df592a37458fd2f511f4688452ec41904 Mon Sep 17 00:00:00 2001 From: rexim Date: Thu, 21 Mar 2024 02:28:47 +0700 Subject: Animate transition between the eye states --- raylib.ads | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'raylib.ads') 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; -- cgit v1.2.3