Note that radians is expected in glm_perspective()

The `fovy` parameter is expected in radians, which isn't mentioned anywhere in the docs. Causes unnecessary confusion. Might as well point it out.
This commit is contained in:
bubba2k
2021-08-09 03:02:47 +02:00
committed by GitHub
parent d0d1e46533
commit 814adf11de

View File

@@ -140,7 +140,7 @@ Functions documentation
| set up perspective projection matrix
Parameters:
| *[in]* **fovy** field of view angle
| *[in]* **fovy** field of view angle (in radians)
| *[in]* **aspect** aspect ratio ( width / height )
| *[in]* **nearVal** near clipping plane
| *[in]* **farVal** far clipping planes