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.json18
1 files changed, 12 insertions, 6 deletions
diff --git a/parser/output/raylib_api.json b/parser/output/raylib_api.json
index ec8d57a8..ab12a43e 100644
--- a/parser/output/raylib_api.json
+++ b/parser/output/raylib_api.json
@@ -335,6 +335,12 @@
"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 @@
{
"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 @@
{
"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",
@@ -3873,12 +3879,12 @@
},
{
"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"
+ "name": "position"
},
{
"type": "Camera",
@@ -3888,12 +3894,12 @@
},
{
"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"
+ "name": "position"
},
{
"type": "Camera",