New 3D functions...
This commit is contained in:
parent
49ccc8d2ee
commit
bd53eb070d
51
raylib.ads
51
raylib.ads
@ -2068,10 +2068,13 @@ package Raylib is
|
|||||||
--~Convention => C,
|
--~Convention => C,
|
||||||
--~External_Name => "";
|
--~External_Name => "";
|
||||||
|
|
||||||
--~procedure UpdateCamera (Camera *camera, int mode) with
|
procedure Update_Camera (
|
||||||
--~Import => True,
|
Data : access Camera_3D := null;
|
||||||
--~Convention => C,
|
Mode : Camera_Mode := Camera_First_Person
|
||||||
--~External_Name => "";
|
) with
|
||||||
|
Import => True,
|
||||||
|
Convention => C,
|
||||||
|
External_Name => "UpdateCamera";
|
||||||
|
|
||||||
--~procedure UpdateCameraPro (Camera *camera, Vector3 movement, Vector3 rotation, float zoom) with
|
--~procedure UpdateCameraPro (Camera *camera, Vector3 movement, Vector3 rotation, float zoom) with
|
||||||
--~Import => True,
|
--~Import => True,
|
||||||
@ -3346,20 +3349,32 @@ package Raylib is
|
|||||||
--~Convention => C,
|
--~Convention => C,
|
||||||
--~External_Name => "";
|
--~External_Name => "";
|
||||||
|
|
||||||
--~procedure DrawCube (Vector3 position, float width, float height, float length, Color color) with
|
procedure Draw_Cube (
|
||||||
--~Import => True,
|
Position : Vector_3D := (0.0, 0.0, 0.0);
|
||||||
--~Convention => C,
|
Width : Float := 0.0;
|
||||||
--~External_Name => "";
|
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
|
--~procedure DrawCubeV (Vector3 position, Vector3 size, Color color) with
|
||||||
--~Import => True,
|
--~Import => True,
|
||||||
--~Convention => C,
|
--~Convention => C,
|
||||||
--~External_Name => "";
|
--~External_Name => "";
|
||||||
|
|
||||||
--~procedure DrawCubeWires (Vector3 position, float width, float height, float length, Color color) with
|
procedure Draw_Cube_Wires (
|
||||||
--~Import => True,
|
Position : Vector_3D := (0.0, 0.0, 0.0);
|
||||||
--~Convention => C,
|
Width : Float := 0.0;
|
||||||
--~External_Name => "";
|
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
|
--~procedure DrawCubeWiresV (Vector3 position, Vector3 size, Color color) with
|
||||||
--~Import => True,
|
--~Import => True,
|
||||||
@ -3411,10 +3426,14 @@ package Raylib is
|
|||||||
--~Convention => C,
|
--~Convention => C,
|
||||||
--~External_Name => "";
|
--~External_Name => "";
|
||||||
|
|
||||||
--~procedure DrawPlane (Vector3 centerPos, Vector2 size, Color color) with
|
procedure Draw_Plane (
|
||||||
--~Import => True,
|
Center : Vector_3D := (0.0, 0.0, 0.0);
|
||||||
--~Convention => C,
|
Size : Vector_2D := (0.0, 0.0);
|
||||||
--~External_Name => "";
|
Tint : Color := White
|
||||||
|
) with
|
||||||
|
Import => True,
|
||||||
|
Convention => C,
|
||||||
|
External_Name => "DrawPlane";
|
||||||
|
|
||||||
--~procedure DrawRay (Ray ray, Color color) with
|
--~procedure DrawRay (Ray ray, Color color) with
|
||||||
--~Import => True,
|
--~Import => True,
|
||||||
|
Loading…
Reference in New Issue
Block a user