Browse Source

Update raylib_api.* by CI

github-actions[bot] 1 year ago
parent
commit
1987c90c73

+ 2 - 2
parser/output/raylib_api.json

@@ -3906,11 +3906,11 @@
           "name": "camera"
           "name": "camera"
         },
         },
         {
         {
-          "type": "float",
+          "type": "int",
           "name": "width"
           "name": "width"
         },
         },
         {
         {
-          "type": "float",
+          "type": "int",
           "name": "height"
           "name": "height"
         }
         }
       ]
       ]

+ 2 - 2
parser/output/raylib_api.lua

@@ -3656,8 +3656,8 @@ return {
       params = {
       params = {
         {type = "Vector2", name = "position"},
         {type = "Vector2", name = "position"},
         {type = "Camera", name = "camera"},
         {type = "Camera", name = "camera"},
-        {type = "float", name = "width"},
-        {type = "float", name = "height"}
+        {type = "int", name = "width"},
+        {type = "int", name = "height"}
       }
       }
     },
     },
     {
     {

+ 2 - 2
parser/output/raylib_api.txt

@@ -1438,8 +1438,8 @@ Function 085: GetScreenToWorldRayEx() (4 input parameters)
   Description: Get a ray trace from screen position (i.e mouse) in a viewport
   Description: Get a ray trace from screen position (i.e mouse) in a viewport
   Param[1]: position (type: Vector2)
   Param[1]: position (type: Vector2)
   Param[2]: camera (type: Camera)
   Param[2]: camera (type: Camera)
-  Param[3]: width (type: float)
-  Param[4]: height (type: float)
+  Param[3]: width (type: int)
+  Param[4]: height (type: int)
 Function 086: GetWorldToScreen() (2 input parameters)
 Function 086: GetWorldToScreen() (2 input parameters)
   Name: GetWorldToScreen
   Name: GetWorldToScreen
   Return type: Vector2
   Return type: Vector2

+ 2 - 2
parser/output/raylib_api.xml

@@ -910,8 +910,8 @@
         <Function name="GetScreenToWorldRayEx" retType="Ray" paramCount="4" desc="Get a ray trace from screen position (i.e mouse) in a viewport">
         <Function name="GetScreenToWorldRayEx" retType="Ray" paramCount="4" desc="Get a ray trace from screen position (i.e mouse) in a viewport">
             <Param type="Vector2" name="position" desc="" />
             <Param type="Vector2" name="position" desc="" />
             <Param type="Camera" name="camera" desc="" />
             <Param type="Camera" name="camera" desc="" />
-            <Param type="float" name="width" desc="" />
-            <Param type="float" name="height" desc="" />
+            <Param type="int" name="width" desc="" />
+            <Param type="int" name="height" desc="" />
         </Function>
         </Function>
         <Function name="GetWorldToScreen" retType="Vector2" paramCount="2" desc="Get the screen space position for a 3d world space position">
         <Function name="GetWorldToScreen" retType="Vector2" paramCount="2" desc="Get the screen space position for a 3d world space position">
             <Param type="Vector3" name="position" desc="" />
             <Param type="Vector3" name="position" desc="" />