Skip to content

Commit d34956b

Browse files
committed
2 parents c315591 + 250d89b commit d34956b

File tree

6 files changed

+536
-481
lines changed

6 files changed

+536
-481
lines changed

parser/output/raylib_api.json

+23
Original file line numberDiff line numberDiff line change
@@ -3886,6 +3886,29 @@
38863886
}
38873887
]
38883888
},
3889+
{
3890+
"name": "GetViewRay",
3891+
"description": "Get a ray trace from mouse position in a viewport",
3892+
"returnType": "Ray",
3893+
"params": [
3894+
{
3895+
"type": "Vector2",
3896+
"name": "mousePosition"
3897+
},
3898+
{
3899+
"type": "Camera",
3900+
"name": "camera"
3901+
},
3902+
{
3903+
"type": "float",
3904+
"name": "width"
3905+
},
3906+
{
3907+
"type": "float",
3908+
"name": "height"
3909+
}
3910+
]
3911+
},
38893912
{
38903913
"name": "GetCameraMatrix",
38913914
"description": "Get camera transform matrix (view matrix)",

parser/output/raylib_api.lua

+11
Original file line numberDiff line numberDiff line change
@@ -3643,6 +3643,17 @@ return {
36433643
{type = "Camera", name = "camera"}
36443644
}
36453645
},
3646+
{
3647+
name = "GetViewRay",
3648+
description = "Get a ray trace from mouse position in a viewport",
3649+
returnType = "Ray",
3650+
params = {
3651+
{type = "Vector2", name = "mousePosition"},
3652+
{type = "Camera", name = "camera"},
3653+
{type = "float", name = "width"},
3654+
{type = "float", name = "height"}
3655+
}
3656+
},
36463657
{
36473658
name = "GetCameraMatrix",
36483659
description = "Get camera transform matrix (view matrix)",

0 commit comments

Comments
 (0)