Update raylib_api.* by CI

This commit is contained in:
github-actions[bot] 2024-03-29 00:40:37 +00:00
parent eda239cc97
commit 7c75746b91
4 changed files with 42 additions and 24 deletions

View file

@ -335,6 +335,12 @@ return {
type = "UNKNOWN",
value = "SHADER_LOC_MAP_METALNESS",
description = ""
},
{
name = "GetMouseRay",
type = "UNKNOWN",
value = "GetScreenToWorldRay",
description = "Compatibility hack for previous raylib versions"
}
},
structs = {
@ -2223,7 +2229,7 @@ return {
{
name = "GAMEPAD_BUTTON_RIGHT_FACE_RIGHT",
value = 6,
description = "Gamepad right button right (i.e. PS3: Square, Xbox: X)"
description = "Gamepad right button right (i.e. PS3: Circle, Xbox: B)"
},
{
name = "GAMEPAD_BUTTON_RIGHT_FACE_DOWN",
@ -2233,7 +2239,7 @@ return {
{
name = "GAMEPAD_BUTTON_RIGHT_FACE_LEFT",
value = 8,
description = "Gamepad right button left (i.e. PS3: Circle, Xbox: B)"
description = "Gamepad right button left (i.e. PS3: Square, Xbox: X)"
},
{
name = "GAMEPAD_BUTTON_LEFT_TRIGGER_1",
@ -3636,19 +3642,19 @@ return {
},
{
name = "GetScreenToWorldRay",
description = "Get a ray trace from mouse position",
description = "Get a ray trace from screen position (i.e mouse)",
returnType = "Ray",
params = {
{type = "Vector2", name = "mousePosition"},
{type = "Vector2", name = "position"},
{type = "Camera", name = "camera"}
}
},
{
name = "GetScreenToWorldRayEx",
description = "Get a ray trace from mouse position in a viewport",
description = "Get a ray trace from screen position (i.e mouse) in a viewport",
returnType = "Ray",
params = {
{type = "Vector2", name = "mousePosition"},
{type = "Vector2", name = "position"},
{type = "Camera", name = "camera"},
{type = "float", name = "width"},
{type = "float", name = "height"}