2
0
Эх сурвалжийг харах

Update raylib_api.* by CI

github-actions[bot] 1 жил өмнө
parent
commit
1344979c70

+ 23 - 0
parser/output/raylib_api.json

@@ -6703,6 +6703,29 @@
         }
       ]
     },
+    {
+      "name": "CheckCollisionCircleLine",
+      "description": "Check if circle collides with a line created betweeen two points [p1] and [p2]",
+      "returnType": "bool",
+      "params": [
+        {
+          "type": "Vector2",
+          "name": "center"
+        },
+        {
+          "type": "float",
+          "name": "radius"
+        },
+        {
+          "type": "Vector2",
+          "name": "p1"
+        },
+        {
+          "type": "Vector2",
+          "name": "p2"
+        }
+      ]
+    },
     {
       "name": "GetCollisionRec",
       "description": "Get collision rectangle for two rectangles collision",

+ 11 - 0
parser/output/raylib_api.lua

@@ -5266,6 +5266,17 @@ return {
         {type = "int", name = "threshold"}
       }
     },
+    {
+      name = "CheckCollisionCircleLine",
+      description = "Check if circle collides with a line created betweeen two points [p1] and [p2]",
+      returnType = "bool",
+      params = {
+        {type = "Vector2", name = "center"},
+        {type = "float", name = "radius"},
+        {type = "Vector2", name = "p1"},
+        {type = "Vector2", name = "p2"}
+      }
+    },
     {
       name = "GetCollisionRec",
       description = "Get collision rectangle for two rectangles collision",

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 169 - 161
parser/output/raylib_api.txt


+ 7 - 1
parser/output/raylib_api.xml

@@ -670,7 +670,7 @@
             <Param type="unsigned int" name="frames" desc="" />
         </Callback>
     </Callbacks>
-    <Functions count="563">
+    <Functions count="564">
         <Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
             <Param type="int" name="width" desc="" />
             <Param type="int" name="height" desc="" />
@@ -1671,6 +1671,12 @@
             <Param type="Vector2" name="p2" desc="" />
             <Param type="int" name="threshold" desc="" />
         </Function>
+        <Function name="CheckCollisionCircleLine" retType="bool" paramCount="4" desc="Check if circle collides with a line created betweeen two points [p1] and [p2]">
+            <Param type="Vector2" name="center" desc="" />
+            <Param type="float" name="radius" desc="" />
+            <Param type="Vector2" name="p1" desc="" />
+            <Param type="Vector2" name="p2" desc="" />
+        </Function>
         <Function name="GetCollisionRec" retType="Rectangle" paramCount="2" desc="Get collision rectangle for two rectangles collision">
             <Param type="Rectangle" name="rec1" desc="" />
             <Param type="Rectangle" name="rec2" desc="" />

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно