Update raylib_api.* by CI
This commit is contained in:
parent
9a8d73e6c3
commit
c35e253e2b
1 changed files with 36 additions and 18 deletions
|
|
@ -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 = {
|
||||
|
|
@ -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"}
|
||||
|
|
|
|||
Loading…
Reference in a new issue