summaryrefslogtreecommitdiffhomepage
path: root/parser/output/raylib_api.lua
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-03-29 00:40:37 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-03-29 00:40:37 +0000
commit7c75746b919d6ec1eeb609ae6f6bfb35b64e0cb7 (patch)
tree490ffebc1749811eb8019846b0585655f86010dc /parser/output/raylib_api.lua
parenteda239cc97e78e548621013e2d2ce94149e8702b (diff)
downloadraylib-7c75746b919d6ec1eeb609ae6f6bfb35b64e0cb7.tar.gz
raylib-7c75746b919d6ec1eeb609ae6f6bfb35b64e0cb7.zip
Update raylib_api.* by CI
Diffstat (limited to 'parser/output/raylib_api.lua')
-rw-r--r--parser/output/raylib_api.lua18
1 files changed, 12 insertions, 6 deletions
diff --git a/parser/output/raylib_api.lua b/parser/output/raylib_api.lua
index 01c1abf3..f64e8eb0 100644
--- a/parser/output/raylib_api.lua
+++ b/parser/output/raylib_api.lua
@@ -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"}