Update raylib_api.* by CI
This commit is contained in:
parent
606cc1d897
commit
1344979c70
4 changed files with 346 additions and 298 deletions
|
@ -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",
|
"name": "GetCollisionRec",
|
||||||
"description": "Get collision rectangle for two rectangles collision",
|
"description": "Get collision rectangle for two rectangles collision",
|
||||||
|
|
|
@ -5266,6 +5266,17 @@ return {
|
||||||
{type = "int", name = "threshold"}
|
{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",
|
name = "GetCollisionRec",
|
||||||
description = "Get collision rectangle for two rectangles collision",
|
description = "Get collision rectangle for two rectangles collision",
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -670,7 +670,7 @@
|
||||||
<Param type="unsigned int" name="frames" desc="" />
|
<Param type="unsigned int" name="frames" desc="" />
|
||||||
</Callback>
|
</Callback>
|
||||||
</Callbacks>
|
</Callbacks>
|
||||||
<Functions count="563">
|
<Functions count="564">
|
||||||
<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="" />
|
||||||
|
@ -1671,6 +1671,12 @@
|
||||||
<Param type="Vector2" name="p2" desc="" />
|
<Param type="Vector2" name="p2" desc="" />
|
||||||
<Param type="int" name="threshold" desc="" />
|
<Param type="int" name="threshold" desc="" />
|
||||||
</Function>
|
</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">
|
<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="rec1" desc="" />
|
||||||
<Param type="Rectangle" name="rec2" desc="" />
|
<Param type="Rectangle" name="rec2" desc="" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue