|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration of an orthographic projection in 2D. More...
#include <GREM/graphics_2d/Camera2D.hpp>
Public Member Functions | |
| constexpr bool | operator== (const OrthographicProjection2D &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. | |
Configuration of an orthographic projection in 2D.
|
nodiscardconstexprdefault |
Compare these options to another set of options for equality.
| other | the options to compare these to. |
| vec2 grem::graphics::OrthographicProjection2D::offset {0.0f, 0.0f} |
Bottom left corner of the orthographic projection, in render target coordinates.
| vec2 grem::graphics::OrthographicProjection2D::size {1.0f, 1.0f} |
Size of the orthographic projection, in render target coordinates.