rlparser: update raylib_api.* by CI
This commit is contained in:
parent
d94729c8ff
commit
43b6395614
|
|
@ -769,22 +769,22 @@
|
||||||
{
|
{
|
||||||
"type": "Vector2",
|
"type": "Vector2",
|
||||||
"name": "offset",
|
"name": "offset",
|
||||||
"description": "Camera offset (displacement from target)"
|
"description": "Camera offset (screen space offset from window origin)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Vector2",
|
"type": "Vector2",
|
||||||
"name": "target",
|
"name": "target",
|
||||||
"description": "Camera target (rotation and zoom origin)"
|
"description": "Camera target (world space target point that is mapped to screen space offset)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"name": "rotation",
|
"name": "rotation",
|
||||||
"description": "Camera rotation in degrees"
|
"description": "Camera rotation in degrees (pivots around target)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"name": "zoom",
|
"name": "zoom",
|
||||||
"description": "Camera zoom (scaling), should be 1.0f by default"
|
"description": "Camera zoom (scaling around target), must not be set to 0, set to 1.0f for no scale"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -769,22 +769,22 @@ return {
|
||||||
{
|
{
|
||||||
type = "Vector2",
|
type = "Vector2",
|
||||||
name = "offset",
|
name = "offset",
|
||||||
description = "Camera offset (displacement from target)"
|
description = "Camera offset (screen space offset from window origin)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type = "Vector2",
|
type = "Vector2",
|
||||||
name = "target",
|
name = "target",
|
||||||
description = "Camera target (rotation and zoom origin)"
|
description = "Camera target (world space target point that is mapped to screen space offset)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type = "float",
|
type = "float",
|
||||||
name = "rotation",
|
name = "rotation",
|
||||||
description = "Camera rotation in degrees"
|
description = "Camera rotation in degrees (pivots around target)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type = "float",
|
type = "float",
|
||||||
name = "zoom",
|
name = "zoom",
|
||||||
description = "Camera zoom (scaling), should be 1.0f by default"
|
description = "Camera zoom (scaling around target), must not be set to 0, set to 1.0f for no scale"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -399,10 +399,10 @@ Struct 13: Camera3D (5 fields)
|
||||||
Struct 14: Camera2D (4 fields)
|
Struct 14: Camera2D (4 fields)
|
||||||
Name: Camera2D
|
Name: Camera2D
|
||||||
Description: Camera2D, defines position/orientation in 2d space
|
Description: Camera2D, defines position/orientation in 2d space
|
||||||
Field[1]: Vector2 offset // Camera offset (displacement from target)
|
Field[1]: Vector2 offset // Camera offset (screen space offset from window origin)
|
||||||
Field[2]: Vector2 target // Camera target (rotation and zoom origin)
|
Field[2]: Vector2 target // Camera target (world space target point that is mapped to screen space offset)
|
||||||
Field[3]: float rotation // Camera rotation in degrees
|
Field[3]: float rotation // Camera rotation in degrees (pivots around target)
|
||||||
Field[4]: float zoom // Camera zoom (scaling), should be 1.0f by default
|
Field[4]: float zoom // Camera zoom (scaling around target), must not be set to 0, set to 1.0f for no scale
|
||||||
Struct 15: Mesh (17 fields)
|
Struct 15: Mesh (17 fields)
|
||||||
Name: Mesh
|
Name: Mesh
|
||||||
Description: Mesh, vertex data and vao/vbo
|
Description: Mesh, vertex data and vao/vbo
|
||||||
|
|
|
||||||
|
|
@ -155,10 +155,10 @@
|
||||||
<Field type="int" name="projection" desc="Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC" />
|
<Field type="int" name="projection" desc="Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC" />
|
||||||
</Struct>
|
</Struct>
|
||||||
<Struct name="Camera2D" fieldCount="4" desc="Camera2D, defines position/orientation in 2d space">
|
<Struct name="Camera2D" fieldCount="4" desc="Camera2D, defines position/orientation in 2d space">
|
||||||
<Field type="Vector2" name="offset" desc="Camera offset (displacement from target)" />
|
<Field type="Vector2" name="offset" desc="Camera offset (screen space offset from window origin)" />
|
||||||
<Field type="Vector2" name="target" desc="Camera target (rotation and zoom origin)" />
|
<Field type="Vector2" name="target" desc="Camera target (world space target point that is mapped to screen space offset)" />
|
||||||
<Field type="float" name="rotation" desc="Camera rotation in degrees" />
|
<Field type="float" name="rotation" desc="Camera rotation in degrees (pivots around target)" />
|
||||||
<Field type="float" name="zoom" desc="Camera zoom (scaling), should be 1.0f by default" />
|
<Field type="float" name="zoom" desc="Camera zoom (scaling around target), must not be set to 0, set to 1.0f for no scale" />
|
||||||
</Struct>
|
</Struct>
|
||||||
<Struct name="Mesh" fieldCount="17" desc="Mesh, vertex data and vao/vbo">
|
<Struct name="Mesh" fieldCount="17" desc="Mesh, vertex data and vao/vbo">
|
||||||
<Field type="int" name="vertexCount" desc="Number of vertices stored in arrays" />
|
<Field type="int" name="vertexCount" desc="Number of vertices stored in arrays" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user