diff options
| author | xolatile | 2024-03-25 18:27:48 -0400 |
|---|---|---|
| committer | xolatile | 2024-03-25 18:27:48 -0400 |
| commit | bd53eb070d2d4c649fa8382ec2698cc42e6be7da (patch) | |
| tree | 60c8f4479496a915efd9fc594e3a5a96c4de4fdd | |
| parent | 49ccc8d2ee60e9898187ec0d5d2b2dcea9e63ce5 (diff) | |
| download | xolatile-raylib-ada-bd53eb070d2d4c649fa8382ec2698cc42e6be7da.tar.xz xolatile-raylib-ada-bd53eb070d2d4c649fa8382ec2698cc42e6be7da.tar.zst | |
New 3D functions...
| -rw-r--r-- | raylib.ads | 51 |
1 files changed, 35 insertions, 16 deletions
@@ -2068,10 +2068,13 @@ package Raylib is --~Convention => C, --~External_Name => ""; - --~procedure UpdateCamera (Camera *camera, int mode) with - --~Import => True, - --~Convention => C, - --~External_Name => ""; + procedure Update_Camera ( + Data : access Camera_3D := null; + Mode : Camera_Mode := Camera_First_Person + ) with + Import => True, + Convention => C, + External_Name => "UpdateCamera"; --~procedure UpdateCameraPro (Camera *camera, Vector3 movement, Vector3 rotation, float zoom) with --~Import => True, @@ -3346,20 +3349,32 @@ package Raylib is --~Convention => C, --~External_Name => ""; - --~procedure DrawCube (Vector3 position, float width, float height, float length, Color color) with - --~Import => True, - --~Convention => C, - --~External_Name => ""; + procedure Draw_Cube ( + Position : Vector_3D := (0.0, 0.0, 0.0); + Width : Float := 0.0; + Height : Float := 0.0; + Length : Float := 0.0; + Tint : Color := White + ) with + Import => True, + Convention => C, + External_Name => "DrawCube"; --~procedure DrawCubeV (Vector3 position, Vector3 size, Color color) with --~Import => True, --~Convention => C, --~External_Name => ""; - --~procedure DrawCubeWires (Vector3 position, float width, float height, float length, Color color) with - --~Import => True, - --~Convention => C, - --~External_Name => ""; + procedure Draw_Cube_Wires ( + Position : Vector_3D := (0.0, 0.0, 0.0); + Width : Float := 0.0; + Height : Float := 0.0; + Length : Float := 0.0; + Tint : Color := Black + ) with + Import => True, + Convention => C, + External_Name => "DrawCubeWires"; --~procedure DrawCubeWiresV (Vector3 position, Vector3 size, Color color) with --~Import => True, @@ -3411,10 +3426,14 @@ package Raylib is --~Convention => C, --~External_Name => ""; - --~procedure DrawPlane (Vector3 centerPos, Vector2 size, Color color) with - --~Import => True, - --~Convention => C, - --~External_Name => ""; + procedure Draw_Plane ( + Center : Vector_3D := (0.0, 0.0, 0.0); + Size : Vector_2D := (0.0, 0.0); + Tint : Color := White + ) with + Import => True, + Convention => C, + External_Name => "DrawPlane"; --~procedure DrawRay (Ray ray, Color color) with --~Import => True, |
