Skip to content

Commit 1344979

Browse files
Update raylib_api.* by CI
1 parent 606cc1d commit 1344979

File tree

4 files changed

+346
-298
lines changed

4 files changed

+346
-298
lines changed

parser/output/raylib_api.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6703,6 +6703,29 @@
67036703
}
67046704
]
67056705
},
6706+
{
6707+
"name": "CheckCollisionCircleLine",
6708+
"description": "Check if circle collides with a line created betweeen two points [p1] and [p2]",
6709+
"returnType": "bool",
6710+
"params": [
6711+
{
6712+
"type": "Vector2",
6713+
"name": "center"
6714+
},
6715+
{
6716+
"type": "float",
6717+
"name": "radius"
6718+
},
6719+
{
6720+
"type": "Vector2",
6721+
"name": "p1"
6722+
},
6723+
{
6724+
"type": "Vector2",
6725+
"name": "p2"
6726+
}
6727+
]
6728+
},
67066729
{
67076730
"name": "GetCollisionRec",
67086731
"description": "Get collision rectangle for two rectangles collision",

parser/output/raylib_api.lua

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5266,6 +5266,17 @@ return {
52665266
{type = "int", name = "threshold"}
52675267
}
52685268
},
5269+
{
5270+
name = "CheckCollisionCircleLine",
5271+
description = "Check if circle collides with a line created betweeen two points [p1] and [p2]",
5272+
returnType = "bool",
5273+
params = {
5274+
{type = "Vector2", name = "center"},
5275+
{type = "float", name = "radius"},
5276+
{type = "Vector2", name = "p1"},
5277+
{type = "Vector2", name = "p2"}
5278+
}
5279+
},
52695280
{
52705281
name = "GetCollisionRec",
52715282
description = "Get collision rectangle for two rectangles collision",

0 commit comments

Comments
 (0)