Browse Source

Update raylib_api.* by CI

github-actions[bot] 1 year ago
parent
commit
250d89b621
4 changed files with 197 additions and 149 deletions
  1. 23 0
      parser/output/raylib_api.json
  2. 11 0
      parser/output/raylib_api.lua
  3. 156 148
      parser/output/raylib_api.txt
  4. 7 1
      parser/output/raylib_api.xml

+ 23 - 0
parser/output/raylib_api.json

@@ -3886,6 +3886,29 @@
         }
         }
       ]
       ]
     },
     },
+    {
+      "name": "GetViewRay",
+      "description": "Get a ray trace from mouse position in a viewport",
+      "returnType": "Ray",
+      "params": [
+        {
+          "type": "Vector2",
+          "name": "mousePosition"
+        },
+        {
+          "type": "Camera",
+          "name": "camera"
+        },
+        {
+          "type": "float",
+          "name": "width"
+        },
+        {
+          "type": "float",
+          "name": "height"
+        }
+      ]
+    },
     {
     {
       "name": "GetCameraMatrix",
       "name": "GetCameraMatrix",
       "description": "Get camera transform matrix (view matrix)",
       "description": "Get camera transform matrix (view matrix)",

+ 11 - 0
parser/output/raylib_api.lua

@@ -3643,6 +3643,17 @@ return {
         {type = "Camera", name = "camera"}
         {type = "Camera", name = "camera"}
       }
       }
     },
     },
+    {
+      name = "GetViewRay",
+      description = "Get a ray trace from mouse position in a viewport",
+      returnType = "Ray",
+      params = {
+        {type = "Vector2", name = "mousePosition"},
+        {type = "Camera", name = "camera"},
+        {type = "float", name = "width"},
+        {type = "float", name = "height"}
+      }
+    },
     {
     {
       name = "GetCameraMatrix",
       name = "GetCameraMatrix",
       description = "Get camera transform matrix (view matrix)",
       description = "Get camera transform matrix (view matrix)",

File diff suppressed because it is too large
+ 156 - 148
parser/output/raylib_api.txt


+ 7 - 1
parser/output/raylib_api.xml

@@ -669,7 +669,7 @@
             <Param type="unsigned int" name="frames" desc="" />
             <Param type="unsigned int" name="frames" desc="" />
         </Callback>
         </Callback>
     </Callbacks>
     </Callbacks>
-    <Functions count="558">
+    <Functions count="559">
         <Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
         <Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
             <Param type="int" name="width" desc="" />
             <Param type="int" name="width" desc="" />
             <Param type="int" name="height" desc="" />
             <Param type="int" name="height" desc="" />
@@ -906,6 +906,12 @@
             <Param type="Vector2" name="mousePosition" desc="" />
             <Param type="Vector2" name="mousePosition" desc="" />
             <Param type="Camera" name="camera" desc="" />
             <Param type="Camera" name="camera" desc="" />
         </Function>
         </Function>
+        <Function name="GetViewRay" retType="Ray" paramCount="4" desc="Get a ray trace from mouse position in a viewport">
+            <Param type="Vector2" name="mousePosition" desc="" />
+            <Param type="Camera" name="camera" desc="" />
+            <Param type="float" name="width" desc="" />
+            <Param type="float" name="height" desc="" />
+        </Function>
         <Function name="GetCameraMatrix" retType="Matrix" paramCount="1" desc="Get camera transform matrix (view matrix)">
         <Function name="GetCameraMatrix" retType="Matrix" paramCount="1" desc="Get camera transform matrix (view matrix)">
             <Param type="Camera" name="camera" desc="" />
             <Param type="Camera" name="camera" desc="" />
         </Function>
         </Function>

Some files were not shown because too many files changed in this diff