1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

CSM: Bugfixes to camera:get_pos() and camera:get_fov()

closes #9857
This commit is contained in:
sfan5 2020-05-14 21:16:45 +02:00 committed by GitHub
parent 6ef7ad09bb
commit 36d35f2fe3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 46 additions and 33 deletions

View file

@ -967,7 +967,7 @@ Please do not try to access the reference until the camera is initialized, other
* `get_camera_mode()`
* Returns 0, 1, or 2 as described above
* `get_fov()`
* Returns:
* Returns a table with X, Y, maximum and actual FOV in degrees:
```lua
{