Browse Source

Update raylib_api.* by CI

pull/4810/head
github-actions[bot] 1 month ago
parent
commit
6120df6a87
4 changed files with 894 additions and 325 deletions
  1. +272
    -0
      parser/output/raylib_api.json
  2. +131
    -0
      parser/output/raylib_api.lua
  3. +419
    -324
      parser/output/raylib_api.txt
  4. +72
    -1
      parser/output/raylib_api.xml

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

@ -6518,6 +6518,41 @@
}
]
},
{
"name": "DrawSplineSegmentBezierCubicVar",
"description": "Draw spline segment with variable thickness: Cubic Bezier, 2 points, 2 control points, 1 or more thickness",
"returnType": "void",
"params": [
{
"type": "Vector2",
"name": "p1"
},
{
"type": "Vector2",
"name": "c2"
},
{
"type": "Vector2",
"name": "c3"
},
{
"type": "Vector2",
"name": "p4"
},
{
"type": "const float*",
"name": "thicks"
},
{
"type": "int",
"name": "thickCount"
},
{
"type": "Color",
"name": "color"
}
]
},
{
"name": "GetSplinePointLinear",
"description": "Get (evaluate) spline point: Linear",
@ -6641,6 +6676,243 @@
}
]
},
{
"name": "GetSplineVelocityLinear",
"description": "Get (evaluate) spline velocity: Linear",
"returnType": "Vector2",
"params": [
{
"type": "Vector2",
"name": "startPos"
},
{
"type": "Vector2",
"name": "endPos"
}
]
},
{
"name": "GetSplineVelocityBezierQuad",
"description": "Get (evaluate) spline velocity: Quadratic Bezier",
"returnType": "Vector2",
"params": [
{
"type": "Vector2",
"name": "startPos"
},
{
"type": "Vector2",
"name": "controlPos"
},
{
"type": "Vector2",
"name": "endPos"
},
{
"type": "float",
"name": "t"
}
]
},
{
"name": "GetSplineVelocityBezierCubic",
"description": "Get (evaluate) spline velocity: Cubic Bezier",
"returnType": "Vector2",
"params": [
{
"type": "Vector2",
"name": "startPos"
},
{
"type": "Vector2",
"name": "startControlPos"
},
{
"type": "Vector2",
"name": "endControlPos"
},
{
"type": "Vector2",
"name": "endPos"
},
{
"type": "float",
"name": "t"
}
]
},
{
"name": "GetSplineAccelerationBezierQuad",
"description": "Get (evaluate) spline acceleration: Quadratic Bezier",
"returnType": "Vector2",
"params": [
{
"type": "Vector2",
"name": "startPos"
},
{
"type": "Vector2",
"name": "controlPos"
},
{
"type": "Vector2",
"name": "endPos"
}
]
},
{
"name": "GetSplineAccelerationBezierCubic",
"description": "Get (evaluate) spline acceleration: Cubic Bezier",
"returnType": "Vector2",
"params": [
{
"type": "Vector2",
"name": "startPos"
},
{
"type": "Vector2",
"name": "startControlPos"
},
{
"type": "Vector2",
"name": "endControlPos"
},
{
"type": "Vector2",
"name": "endPos"
},
{
"type": "float",
"name": "t"
}
]
},
{
"name": "GetSplineJoltBezierCubic",
"description": "Get (evaluate) spline jolt: Cubic Bezier",
"returnType": "Vector2",
"params": [
{
"type": "Vector2",
"name": "startPos"
},
{
"type": "Vector2",
"name": "startControlPos"
},
{
"type": "Vector2",
"name": "endControlPos"
},
{
"type": "Vector2",
"name": "endPos"
}
]
},
{
"name": "GetSplineBoundsBezierLinear",
"description": "Get (evaluate) spline bounds rectangle: Linear",
"returnType": "Rectangle",
"params": [
{
"type": "Vector2",
"name": "startPos"
},
{
"type": "Vector2",
"name": "endPos"
}
]
},
{
"name": "GetSplineBoundsBezierQuad",
"description": "Get (evaluate) spline bounds rectangle: Quadratic Bezier",
"returnType": "Rectangle",
"params": [
{
"type": "Vector2",
"name": "startPos"
},
{
"type": "Vector2",
"name": "controlPos"
},
{
"type": "Vector2",
"name": "endPos"
}
]
},
{
"name": "GetSplineBoundsBezierCubic",
"description": "Get (evaluate) spline bounds rectangle: Cubic Bezier",
"returnType": "Rectangle",
"params": [
{
"type": "Vector2",
"name": "startPos"
},
{
"type": "Vector2",
"name": "startControlPos"
},
{
"type": "Vector2",
"name": "endControlPos"
},
{
"type": "Vector2",
"name": "endPos"
}
]
},
{
"name": "GetSplineCurvatureBezierCubic",
"description": "Get (evaluate) spline curvature: Cubic Bezier",
"returnType": "float",
"params": [
{
"type": "Vector2",
"name": "startPos"
},
{
"type": "Vector2",
"name": "startControlPos"
},
{
"type": "Vector2",
"name": "endControlPos"
},
{
"type": "Vector2",
"name": "endPos"
},
{
"type": "float",
"name": "t"
}
]
},
{
"name": "GetSplineNearestTLinear",
"description": "Get (evaluate) nearest t value to point: Linear",
"returnType": "float",
"params": [
{
"type": "Vector2",
"name": "startPos"
},
{
"type": "Vector2",
"name": "endPos"
},
{
"type": "Vector2",
"name": "point"
}
]
},
{
"name": "CheckCollisionRecs",
"description": "Check collision between two rectangles",

+ 131
- 0
parser/output/raylib_api.lua View File

@ -5210,6 +5210,20 @@ return {
{type = "Color", name = "color"}
}
},
{
name = "DrawSplineSegmentBezierCubicVar",
description = "Draw spline segment with variable thickness: Cubic Bezier, 2 points, 2 control points, 1 or more thickness",
returnType = "void",
params = {
{type = "Vector2", name = "p1"},
{type = "Vector2", name = "c2"},
{type = "Vector2", name = "c3"},
{type = "Vector2", name = "p4"},
{type = "const float*", name = "thicks"},
{type = "int", name = "thickCount"},
{type = "Color", name = "color"}
}
},
{
name = "GetSplinePointLinear",
description = "Get (evaluate) spline point: Linear",
@ -5267,6 +5281,123 @@ return {
{type = "float", name = "t"}
}
},
{
name = "GetSplineVelocityLinear",
description = "Get (evaluate) spline velocity: Linear",
returnType = "Vector2",
params = {
{type = "Vector2", name = "startPos"},
{type = "Vector2", name = "endPos"}
}
},
{
name = "GetSplineVelocityBezierQuad",
description = "Get (evaluate) spline velocity: Quadratic Bezier",
returnType = "Vector2",
params = {
{type = "Vector2", name = "startPos"},
{type = "Vector2", name = "controlPos"},
{type = "Vector2", name = "endPos"},
{type = "float", name = "t"}
}
},
{
name = "GetSplineVelocityBezierCubic",
description = "Get (evaluate) spline velocity: Cubic Bezier",
returnType = "Vector2",
params = {
{type = "Vector2", name = "startPos"},
{type = "Vector2", name = "startControlPos"},
{type = "Vector2", name = "endControlPos"},
{type = "Vector2", name = "endPos"},
{type = "float", name = "t"}
}
},
{
name = "GetSplineAccelerationBezierQuad",
description = "Get (evaluate) spline acceleration: Quadratic Bezier",
returnType = "Vector2",
params = {
{type = "Vector2", name = "startPos"},
{type = "Vector2", name = "controlPos"},
{type = "Vector2", name = "endPos"}
}
},
{
name = "GetSplineAccelerationBezierCubic",
description = "Get (evaluate) spline acceleration: Cubic Bezier",
returnType = "Vector2",
params = {
{type = "Vector2", name = "startPos"},
{type = "Vector2", name = "startControlPos"},
{type = "Vector2", name = "endControlPos"},
{type = "Vector2", name = "endPos"},
{type = "float", name = "t"}
}
},
{
name = "GetSplineJoltBezierCubic",
description = "Get (evaluate) spline jolt: Cubic Bezier",
returnType = "Vector2",
params = {
{type = "Vector2", name = "startPos"},
{type = "Vector2", name = "startControlPos"},
{type = "Vector2", name = "endControlPos"},
{type = "Vector2", name = "endPos"}
}
},
{
name = "GetSplineBoundsBezierLinear",
description = "Get (evaluate) spline bounds rectangle: Linear",
returnType = "Rectangle",
params = {
{type = "Vector2", name = "startPos"},
{type = "Vector2", name = "endPos"}
}
},
{
name = "GetSplineBoundsBezierQuad",
description = "Get (evaluate) spline bounds rectangle: Quadratic Bezier",
returnType = "Rectangle",
params = {
{type = "Vector2", name = "startPos"},
{type = "Vector2", name = "controlPos"},
{type = "Vector2", name = "endPos"}
}
},
{
name = "GetSplineBoundsBezierCubic",
description = "Get (evaluate) spline bounds rectangle: Cubic Bezier",
returnType = "Rectangle",
params = {
{type = "Vector2", name = "startPos"},
{type = "Vector2", name = "startControlPos"},
{type = "Vector2", name = "endControlPos"},
{type = "Vector2", name = "endPos"}
}
},
{
name = "GetSplineCurvatureBezierCubic",
description = "Get (evaluate) spline curvature: Cubic Bezier",
returnType = "float",
params = {
{type = "Vector2", name = "startPos"},
{type = "Vector2", name = "startControlPos"},
{type = "Vector2", name = "endControlPos"},
{type = "Vector2", name = "endPos"},
{type = "float", name = "t"}
}
},
{
name = "GetSplineNearestTLinear",
description = "Get (evaluate) nearest t value to point: Linear",
returnType = "float",
params = {
{type = "Vector2", name = "startPos"},
{type = "Vector2", name = "endPos"},
{type = "Vector2", name = "point"}
}
},
{
name = "CheckCollisionRecs",
description = "Check collision between two rectangles",

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


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

@ -679,7 +679,7 @@
<Param type="unsigned int" name="frames" desc="" />
</Callback>
</Callbacks>
<Functions count="582">
<Functions count="594">
<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="" />
@ -1621,6 +1621,15 @@
<Param type="float" name="thick" desc="" />
<Param type="Color" name="color" desc="" />
</Function>
<Function name="DrawSplineSegmentBezierCubicVar" retType="void" paramCount="7" desc="Draw spline segment with variable thickness: Cubic Bezier, 2 points, 2 control points, 1 or more thickness">
<Param type="Vector2" name="p1" desc="" />
<Param type="Vector2" name="c2" desc="" />
<Param type="Vector2" name="c3" desc="" />
<Param type="Vector2" name="p4" desc="" />
<Param type="const float*" name="thicks" desc="" />
<Param type="int" name="thickCount" desc="" />
<Param type="Color" name="color" desc="" />
</Function>
<Function name="GetSplinePointLinear" retType="Vector2" paramCount="3" desc="Get (evaluate) spline point: Linear">
<Param type="Vector2" name="startPos" desc="" />
<Param type="Vector2" name="endPos" desc="" />
@ -1653,6 +1662,68 @@
<Param type="Vector2" name="p4" desc="" />
<Param type="float" name="t" desc="" />
</Function>
<Function name="GetSplineVelocityLinear" retType="Vector2" paramCount="2" desc="Get (evaluate) spline velocity: Linear">
<Param type="Vector2" name="startPos" desc="" />
<Param type="Vector2" name="endPos" desc="" />
</Function>
<Function name="GetSplineVelocityBezierQuad" retType="Vector2" paramCount="4" desc="Get (evaluate) spline velocity: Quadratic Bezier">
<Param type="Vector2" name="startPos" desc="" />
<Param type="Vector2" name="controlPos" desc="" />
<Param type="Vector2" name="endPos" desc="" />
<Param type="float" name="t" desc="" />
</Function>
<Function name="GetSplineVelocityBezierCubic" retType="Vector2" paramCount="5" desc="Get (evaluate) spline velocity: Cubic Bezier">
<Param type="Vector2" name="startPos" desc="" />
<Param type="Vector2" name="startControlPos" desc="" />
<Param type="Vector2" name="endControlPos" desc="" />
<Param type="Vector2" name="endPos" desc="" />
<Param type="float" name="t" desc="" />
</Function>
<Function name="GetSplineAccelerationBezierQuad" retType="Vector2" paramCount="3" desc="Get (evaluate) spline acceleration: Quadratic Bezier">
<Param type="Vector2" name="startPos" desc="" />
<Param type="Vector2" name="controlPos" desc="" />
<Param type="Vector2" name="endPos" desc="" />
</Function>
<Function name="GetSplineAccelerationBezierCubic" retType="Vector2" paramCount="5" desc="Get (evaluate) spline acceleration: Cubic Bezier">
<Param type="Vector2" name="startPos" desc="" />
<Param type="Vector2" name="startControlPos" desc="" />
<Param type="Vector2" name="endControlPos" desc="" />
<Param type="Vector2" name="endPos" desc="" />
<Param type="float" name="t" desc="" />
</Function>
<Function name="GetSplineJoltBezierCubic" retType="Vector2" paramCount="4" desc="Get (evaluate) spline jolt: Cubic Bezier">
<Param type="Vector2" name="startPos" desc="" />
<Param type="Vector2" name="startControlPos" desc="" />
<Param type="Vector2" name="endControlPos" desc="" />
<Param type="Vector2" name="endPos" desc="" />
</Function>
<Function name="GetSplineBoundsBezierLinear" retType="Rectangle" paramCount="2" desc="Get (evaluate) spline bounds rectangle: Linear">
<Param type="Vector2" name="startPos" desc="" />
<Param type="Vector2" name="endPos" desc="" />
</Function>
<Function name="GetSplineBoundsBezierQuad" retType="Rectangle" paramCount="3" desc="Get (evaluate) spline bounds rectangle: Quadratic Bezier">
<Param type="Vector2" name="startPos" desc="" />
<Param type="Vector2" name="controlPos" desc="" />
<Param type="Vector2" name="endPos" desc="" />
</Function>
<Function name="GetSplineBoundsBezierCubic" retType="Rectangle" paramCount="4" desc="Get (evaluate) spline bounds rectangle: Cubic Bezier">
<Param type="Vector2" name="startPos" desc="" />
<Param type="Vector2" name="startControlPos" desc="" />
<Param type="Vector2" name="endControlPos" desc="" />
<Param type="Vector2" name="endPos" desc="" />
</Function>
<Function name="GetSplineCurvatureBezierCubic" retType="float" paramCount="5" desc="Get (evaluate) spline curvature: Cubic Bezier">
<Param type="Vector2" name="startPos" desc="" />
<Param type="Vector2" name="startControlPos" desc="" />
<Param type="Vector2" name="endControlPos" desc="" />
<Param type="Vector2" name="endPos" desc="" />
<Param type="float" name="t" desc="" />
</Function>
<Function name="GetSplineNearestTLinear" retType="float" paramCount="3" desc="Get (evaluate) nearest t value to point: Linear">
<Param type="Vector2" name="startPos" desc="" />
<Param type="Vector2" name="endPos" desc="" />
<Param type="Vector2" name="point" desc="" />
</Function>
<Function name="CheckCollisionRecs" retType="bool" paramCount="2" desc="Check collision between two rectangles">
<Param type="Rectangle" name="rec1" desc="" />
<Param type="Rectangle" name="rec2" desc="" />

Loading…
Cancel
Save