Update raylib_api.* by CI

This commit is contained in:
github-actions[bot]
2024-10-22 22:21:35 +00:00
parent 4b60ce700f
commit ebcfc7f49e
4 changed files with 101 additions and 101 deletions

View File

@ -6662,6 +6662,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": "CheckCollisionPointRec",
"description": "Check if point is inside rectangle",
@ -6719,6 +6742,29 @@
}
]
},
{
"name": "CheckCollisionPointLine",
"description": "Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]",
"returnType": "bool",
"params": [
{
"type": "Vector2",
"name": "point"
},
{
"type": "Vector2",
"name": "p1"
},
{
"type": "Vector2",
"name": "p2"
},
{
"type": "int",
"name": "threshold"
}
]
},
{
"name": "CheckCollisionPointPoly",
"description": "Check if point is within a polygon described by array of vertices",
@ -6765,52 +6811,6 @@
}
]
},
{
"name": "CheckCollisionPointLine",
"description": "Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]",
"returnType": "bool",
"params": [
{
"type": "Vector2",
"name": "point"
},
{
"type": "Vector2",
"name": "p1"
},
{
"type": "Vector2",
"name": "p2"
},
{
"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",