#include <hikogui/geometry/perspective.hpp>
◆ perspective() [1/2]
Create a right-handed perspective transform.
- Note
- : This makes a right handed perspective matrix, where the near and far plane are clamped between 1.0 and 0.0
- Parameters
-
| fov_y | The field of view from the eye to the height of the view in radians. |
| aspect_ratio | The view-port. |
| znear | The distance from the camera to the near plane. |
| zfar | The distance from the camera to the far plane. |
◆ perspective() [2/2]
Create a right-handed perspective transform.
- Note
- : This makes a right handed perspective matrix, where the near and far plane are clamped between 1.0 and 0.0
- Parameters
-
| fov_y | The field of view from the eye to the height of the view in radians. |
| view_port | The size of the view port. |
| znear | The distance from the camera to the near plane. |
| zfar | The distance from the camera to the far plane. |
The documentation for this class was generated from the following file: