|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration of a perspective projection in 3D. More...
#include <GREM/graphics_3d/Camera3D.hpp>
Public Member Functions | |
| constexpr bool | operator== (const PerspectiveProjection3D &other) const =default |
| Compare these options to another set of options for equality. | |
Public Attributes | |
| float | verticalFieldOfView = 1.28700221758656877361f |
| Vertical field of view of the projection, in radians. | |
| float | aspectRatio = 1.0f |
| Aspect ratio of the projection, X/Y. | |
| float | nearZ = 0.01f |
| Distance to the near plane of the projection, in view coordinates. | |
| float | farZ = 1000.0f |
| Distance to the far plane of the projection, in view coordinates. | |
Configuration of a perspective projection in 3D.
|
nodiscardconstexprdefault |
Compare these options to another set of options for equality.
| other | the options to compare these to. |
| float grem::graphics::PerspectiveProjection3D::verticalFieldOfView = 1.28700221758656877361f |
Vertical field of view of the projection, in radians.
| float grem::graphics::PerspectiveProjection3D::aspectRatio = 1.0f |
Aspect ratio of the projection, X/Y.
| float grem::graphics::PerspectiveProjection3D::nearZ = 0.01f |
Distance to the near plane of the projection, in view coordinates.
| float grem::graphics::PerspectiveProjection3D::farZ = 1000.0f |
Distance to the far plane of the projection, in view coordinates.
If less than or equal to nearZ, the depth will be infinite.