From 814adf11de206d325106c9e4c8fb7742018d3920 Mon Sep 17 00:00:00 2001 From: bubba2k <64813843+bubba2k@users.noreply.github.com> Date: Mon, 9 Aug 2021 03:02:47 +0200 Subject: [PATCH] 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. --- docs/source/cam.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/cam.rst b/docs/source/cam.rst index 09de245..7afc5db 100644 --- a/docs/source/cam.rst +++ b/docs/source/cam.rst @@ -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