Browse Source

Update raylib_api.* by CI

pull/4020/head
github-actions[bot] 5 months ago
parent
commit
1344979c70
4 changed files with 346 additions and 298 deletions
  1. +23
    -0
      parser/output/raylib_api.json
  2. +11
    -0
      parser/output/raylib_api.lua
  3. +305
    -297
      parser/output/raylib_api.txt
  4. +7
    -1
      parser/output/raylib_api.xml

+ 23
- 0
parser/output/raylib_api.json View File

@ -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 View File

@ -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",

+ 305
- 297
parser/output/raylib_api.txt
File diff suppressed because it is too large
View File


+ 7
- 1
parser/output/raylib_api.xml View File

@ -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="" />

Loading…
Cancel
Save