rohit.gonsalves 39 Share Posted Sunday at 10:46 AM https://developer.unigine.com/en/docs/2.13/api/library/math/math.matrix?rlang=cpp#perspective_float_float_float_float Quote mat4 perspective ( float fov, float aspect, float znear, float zfar ) Returns perspective projection matrix. Arguments float fov - Field of view angle. float aspect - Aspect ratio. The aspect ratio is the ratio of width to height. float znear - Nearest depth clipping plane. float zfar - Farther depth clipping plane. Return value Perspective projection matrix. Please add the "horizontal" word to Field of view angle. Rohit Link to post
fox 123 Share Posted Sunday at 07:01 PM Thanks for pointing out, Rohit! We'll surely add that and update the docs! Link to post
Recommended Posts