From 250d89b6211d893a4f55732a08b67bad834d5576 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 4 Feb 2024 10:37:24 +0000 Subject: Update raylib_api.* by CI --- parser/output/raylib_api.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'parser/output/raylib_api.lua') diff --git a/parser/output/raylib_api.lua b/parser/output/raylib_api.lua index d4a8aeed..882fb61f 100644 --- a/parser/output/raylib_api.lua +++ b/parser/output/raylib_api.lua @@ -3643,6 +3643,17 @@ return { {type = "Camera", name = "camera"} } }, + { + name = "GetViewRay", + description = "Get a ray trace from mouse position in a viewport", + returnType = "Ray", + params = { + {type = "Vector2", name = "mousePosition"}, + {type = "Camera", name = "camera"}, + {type = "float", name = "width"}, + {type = "float", name = "height"} + } + }, { name = "GetCameraMatrix", description = "Get camera transform matrix (view matrix)", -- cgit v1.2.3