|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration of an orthographic projection in 3D. More...
#include <GREM/graphics_3d/Camera3D.hpp>
Public Member Functions | |
| constexpr bool | operator== (const OrthographicProjection3D &other) const =default |
| Compare these options to another set of options for equality. | |
Public Attributes | |
| vec2 | offset {0.0f, 0.0f} |
| Bottom left corner of the orthographic projection, in render target coordinates. | |
| vec2 | size {1.0f, 1.0f} |
| Size of the orthographic projection, in render target coordinates. | |
| float | nearZ = 0.0f |
| Distance to the near plane of the projection, in view coordinates. | |
| float | farZ = 0.0f |
| Distance to the far plane of the projection, in view coordinates. | |
Configuration of an orthographic projection in 3D.
|
nodiscardconstexprdefault |
Compare these options to another set of options for equality.
| other | the options to compare these to. |
| vec2 grem::graphics::OrthographicProjection3D::offset {0.0f, 0.0f} |
Bottom left corner of the orthographic projection, in render target coordinates.
| vec2 grem::graphics::OrthographicProjection3D::size {1.0f, 1.0f} |
Size of the orthographic projection, in render target coordinates.
| float grem::graphics::OrthographicProjection3D::nearZ = 0.0f |
Distance to the near plane of the projection, in view coordinates.
If greater than or equal to farZ, the depth will be infinite.
| float grem::graphics::OrthographicProjection3D::farZ = 0.0f |
Distance to the far plane of the projection, in view coordinates.
If less than or equal to nearZ, the depth will be infinite.