libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Configuration options for a Camera with a perspective projection. More...
#include <donut/graphics/Camera.hpp>
Public Attributes | |
float | verticalFieldOfView = 1.28700221758656877361f |
Vertical field of view of the projection, in radians. More... | |
float | aspectRatio = 1.0f |
Aspect ratio of the projection, X/Y. More... | |
float | nearZ = 0.01f |
Distance to the near plane of the projection, in view coordinates. More... | |
float | farZ = 1000.0f |
Distance to the far plane of the projection, in view coordinates. More... | |
Configuration options for a Camera with a perspective projection.
float donut::graphics::CameraPerspectiveOptions::verticalFieldOfView = 1.28700221758656877361f |
Vertical field of view of the projection, in radians.
float donut::graphics::CameraPerspectiveOptions::aspectRatio = 1.0f |
Aspect ratio of the projection, X/Y.
float donut::graphics::CameraPerspectiveOptions::nearZ = 0.01f |
Distance to the near plane of the projection, in view coordinates.
float donut::graphics::CameraPerspectiveOptions::farZ = 1000.0f |
Distance to the far plane of the projection, in view coordinates.