|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration of a world-space view in 2D. More...
#include <GREM/graphics_2d/Camera2D.hpp>
Public Attributes | |
| vec2 | position {0.0f, 0.0f} |
| World-space position of the view origin. | |
| float | angle = 0.0f |
| World-space orientation of the view around its origin, in radians. | |
| vec2 | scale {1.0f, 1.0f} |
| World-space scale of the view. | |
Configuration of a world-space view in 2D.
| vec2 grem::graphics::WorldView2D::position {0.0f, 0.0f} |
World-space position of the view origin.
| float grem::graphics::WorldView2D::angle = 0.0f |
World-space orientation of the view around its origin, in radians.
| vec2 grem::graphics::WorldView2D::scale {1.0f, 1.0f} |
World-space scale of the view.