mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
[core] Camera2d comment updates (#5401)
* Make the comments on the camera 2d fields more clear about what space each one is in. * rlparser: update raylib_api.* by CI --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@ -155,10 +155,10 @@
|
||||
<Field type="int" name="projection" desc="Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC" />
|
||||
</Struct>
|
||||
<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="target" desc="Camera target (rotation and zoom origin)" />
|
||||
<Field type="float" name="rotation" desc="Camera rotation in degrees" />
|
||||
<Field type="float" name="zoom" desc="Camera zoom (scaling), should be 1.0f by default" />
|
||||
<Field type="Vector2" name="offset" desc="Camera offset (screen space offset from window 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 (pivots around target)" />
|
||||
<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 name="Mesh" fieldCount="17" desc="Mesh, vertex data and vao/vbo">
|
||||
<Field type="int" name="vertexCount" desc="Number of vertices stored in arrays" />
|
||||
|
||||
Reference in New Issue
Block a user