summaryrefslogtreecommitdiffhomepage
path: root/parser/output/raylib_api.json
diff options
context:
space:
mode:
Diffstat (limited to 'parser/output/raylib_api.json')
-rw-r--r--parser/output/raylib_api.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/parser/output/raylib_api.json b/parser/output/raylib_api.json
index dd305c5c..c48c1dd5 100644
--- a/parser/output/raylib_api.json
+++ b/parser/output/raylib_api.json
@@ -3887,6 +3887,29 @@
]
},
{
+ "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)",
"returnType": "Matrix",