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:
@ -769,22 +769,22 @@
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "offset",
|
||||
"description": "Camera offset (displacement from target)"
|
||||
"description": "Camera offset (screen space offset from window origin)"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"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",
|
||||
"name": "rotation",
|
||||
"description": "Camera rotation in degrees"
|
||||
"description": "Camera rotation in degrees (pivots around target)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user