Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/raysan5/raylib
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 committed Feb 4, 2024
2 parents c315591 + 250d89b commit d34956b
Show file tree
Hide file tree
Showing 6 changed files with 536 additions and 481 deletions.
23 changes: 23 additions & 0 deletions parser/output/raylib_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -3886,6 +3886,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)",
Expand Down
11 changes: 11 additions & 0 deletions parser/output/raylib_api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down
Loading

0 comments on commit d34956b

Please sign in to comment.