Merge branch 'feature/polygon' of github.com:LeandroSQ/raylib into feature/polygon
This commit is contained in:
commit
b5901d86d2
|
|
@ -6022,6 +6022,29 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawPolyPro",
|
||||
"description": "Draw a filled polygon from an array of points (Vector version)",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "center"
|
||||
},
|
||||
{
|
||||
"type": "Vector2 *",
|
||||
"name": "points"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "pointCount"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawPolyLines",
|
||||
"description": "Draw a polygon outline of n sides",
|
||||
|
|
@ -6080,6 +6103,25 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawPolyLinesPro",
|
||||
"description": "Draw a polygon outline from an array of points (Vector version)",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2 *",
|
||||
"name": "points"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "pointCount"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawSplineLinear",
|
||||
"description": "Draw spline: Linear, minimum 2 points",
|
||||
|
|
|
|||
|
|
@ -4939,6 +4939,17 @@ return {
|
|||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawPolyPro",
|
||||
description = "Draw a filled polygon from an array of points (Vector version)",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2", name = "center"},
|
||||
{type = "Vector2 *", name = "points"},
|
||||
{type = "int", name = "pointCount"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawPolyLines",
|
||||
description = "Draw a polygon outline of n sides",
|
||||
|
|
@ -4964,6 +4975,16 @@ return {
|
|||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawPolyLinesPro",
|
||||
description = "Draw a polygon outline from an array of points (Vector version)",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2 *", name = "points"},
|
||||
{type = "int", name = "pointCount"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawSplineLinear",
|
||||
description = "Draw spline: Linear, minimum 2 points",
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -669,7 +669,7 @@
|
|||
<Param type="unsigned int" name="frames" desc="" />
|
||||
</Callback>
|
||||
</Callbacks>
|
||||
<Functions count="559">
|
||||
<Functions count="561">
|
||||
<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="" />
|
||||
|
|
@ -1494,6 +1494,12 @@
|
|||
<Param type="float" name="rotation" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawPolyPro" retType="void" paramCount="4" desc="Draw a filled polygon from an array of points (Vector version)">
|
||||
<Param type="Vector2" name="center" desc="" />
|
||||
<Param type="Vector2 *" name="points" desc="" />
|
||||
<Param type="int" name="pointCount" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawPolyLines" retType="void" paramCount="5" desc="Draw a polygon outline of n sides">
|
||||
<Param type="Vector2" name="center" desc="" />
|
||||
<Param type="int" name="sides" desc="" />
|
||||
|
|
@ -1509,6 +1515,11 @@
|
|||
<Param type="float" name="lineThick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawPolyLinesPro" retType="void" paramCount="3" desc="Draw a polygon outline from an array of points (Vector version)">
|
||||
<Param type="Vector2 *" name="points" desc="" />
|
||||
<Param type="int" name="pointCount" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawSplineLinear" retType="void" paramCount="4" desc="Draw spline: Linear, minimum 2 points">
|
||||
<Param type="Vector2 *" name="points" desc="" />
|
||||
<Param type="int" name="pointCount" desc="" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user