Update raylib_api.* by CI
This commit is contained in:
parent
9a5dddc311
commit
250d89b621
4 changed files with 524 additions and 476 deletions
|
@ -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",
|
"name": "GetCameraMatrix",
|
||||||
"description": "Get camera transform matrix (view matrix)",
|
"description": "Get camera transform matrix (view matrix)",
|
||||||
|
|
|
@ -3643,6 +3643,17 @@ return {
|
||||||
{type = "Camera", name = "camera"}
|
{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",
|
name = "GetCameraMatrix",
|
||||||
description = "Get camera transform matrix (view matrix)",
|
description = "Get camera transform matrix (view matrix)",
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -669,7 +669,7 @@
|
||||||
<Param type="unsigned int" name="frames" desc="" />
|
<Param type="unsigned int" name="frames" desc="" />
|
||||||
</Callback>
|
</Callback>
|
||||||
</Callbacks>
|
</Callbacks>
|
||||||
<Functions count="558">
|
<Functions count="559">
|
||||||
<Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
|
<Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
|
||||||
<Param type="int" name="width" desc="" />
|
<Param type="int" name="width" desc="" />
|
||||||
<Param type="int" name="height" desc="" />
|
<Param type="int" name="height" desc="" />
|
||||||
|
@ -906,6 +906,12 @@
|
||||||
<Param type="Vector2" name="mousePosition" desc="" />
|
<Param type="Vector2" name="mousePosition" desc="" />
|
||||||
<Param type="Camera" name="camera" desc="" />
|
<Param type="Camera" name="camera" desc="" />
|
||||||
</Function>
|
</Function>
|
||||||
|
<Function name="GetViewRay" retType="Ray" paramCount="4" desc="Get a ray trace from mouse position in a viewport">
|
||||||
|
<Param type="Vector2" name="mousePosition" desc="" />
|
||||||
|
<Param type="Camera" name="camera" desc="" />
|
||||||
|
<Param type="float" name="width" desc="" />
|
||||||
|
<Param type="float" name="height" desc="" />
|
||||||
|
</Function>
|
||||||
<Function name="GetCameraMatrix" retType="Matrix" paramCount="1" desc="Get camera transform matrix (view matrix)">
|
<Function name="GetCameraMatrix" retType="Matrix" paramCount="1" desc="Get camera transform matrix (view matrix)">
|
||||||
<Param type="Camera" name="camera" desc="" />
|
<Param type="Camera" name="camera" desc="" />
|
||||||
</Function>
|
</Function>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue