Update raylib_api.* by CI
This commit is contained in:
parent
7e50270d49
commit
c7bda3d10f
4 changed files with 504 additions and 229 deletions
|
@ -5970,6 +5970,66 @@ return {
|
|||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "ImageDrawTriangle",
|
||||
description = "Draw triangle within an image",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Image *", name = "dst"},
|
||||
{type = "Vector2", name = "v1"},
|
||||
{type = "Vector2", name = "v2"},
|
||||
{type = "Vector2", name = "v3"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "ImageDrawTriangleEx",
|
||||
description = "Draw triangle with interpolated colors within an image",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Image *", name = "dst"},
|
||||
{type = "Vector2", name = "v1"},
|
||||
{type = "Vector2", name = "v2"},
|
||||
{type = "Vector2", name = "v3"},
|
||||
{type = "Color", name = "c1"},
|
||||
{type = "Color", name = "c2"},
|
||||
{type = "Color", name = "c3"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "ImageDrawTriangleLines",
|
||||
description = "Draw triangle outline within an image",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Image *", name = "dst"},
|
||||
{type = "Vector2", name = "v1"},
|
||||
{type = "Vector2", name = "v2"},
|
||||
{type = "Vector2", name = "v3"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "ImageDrawTriangleFan",
|
||||
description = "Draw a triangle fan defined by points within an image (first vertex is the center)",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Image *", name = "dst"},
|
||||
{type = "Vector2 *", name = "points"},
|
||||
{type = "int", name = "pointCount"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "ImageDrawTriangleStrip",
|
||||
description = "Draw a triangle strip defined by points within an image",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Image *", name = "dst"},
|
||||
{type = "Vector2 *", name = "points"},
|
||||
{type = "int", name = "pointCount"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "ImageDraw",
|
||||
description = "Draw a source image within a destination image (tint applied to source)",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue