diff --git a/tools/rlparser/output/raylib_api.json b/tools/rlparser/output/raylib_api.json
index a1af3c9fc..54e16da80 100644
--- a/tools/rlparser/output/raylib_api.json
+++ b/tools/rlparser/output/raylib_api.json
@@ -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"
}
]
},
diff --git a/tools/rlparser/output/raylib_api.lua b/tools/rlparser/output/raylib_api.lua
index 20043c12d..98d738f93 100644
--- a/tools/rlparser/output/raylib_api.lua
+++ b/tools/rlparser/output/raylib_api.lua
@@ -769,22 +769,22 @@ return {
{
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"
}
}
},
diff --git a/tools/rlparser/output/raylib_api.txt b/tools/rlparser/output/raylib_api.txt
index 3578e41df..154d1780b 100644
--- a/tools/rlparser/output/raylib_api.txt
+++ b/tools/rlparser/output/raylib_api.txt
@@ -399,10 +399,10 @@ Struct 13: Camera3D (5 fields)
Struct 14: Camera2D (4 fields)
Name: Camera2D
Description: Camera2D, defines position/orientation in 2d space
- Field[1]: Vector2 offset // Camera offset (displacement from target)
- Field[2]: Vector2 target // Camera target (rotation and zoom origin)
- Field[3]: float rotation // Camera rotation in degrees
- Field[4]: float zoom // Camera zoom (scaling), should be 1.0f by default
+ Field[1]: Vector2 offset // Camera offset (screen space offset from window 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 (pivots around target)
+ 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)
Name: Mesh
Description: Mesh, vertex data and vao/vbo
diff --git a/tools/rlparser/output/raylib_api.xml b/tools/rlparser/output/raylib_api.xml
index ea7792612..ae0627513 100644
--- a/tools/rlparser/output/raylib_api.xml
+++ b/tools/rlparser/output/raylib_api.xml
@@ -155,10 +155,10 @@
-
-
-
-
+
+
+
+