Holds some basic information that the camera holds in a state. More...
#include <Camera2D.hpp>
Collaboration diagram for BARE2D::CameraState:Data Fields | |
| glm::vec2 | focus = glm::vec2(0.0f) |
| glm::vec2 | scale = glm::vec2(1.0f) |
Holds some basic information that the camera holds in a state.
Definition at line 11 of file Camera2D.hpp.
| glm::vec2 BARE2D::CameraState::focus = glm::vec2(0.0f) |
Definition at line 12 of file Camera2D.hpp.
Referenced by BARE2D::Camera2D::getFocus(), BARE2D::Camera2D::getStatePosition(), BARE2D::Camera2D::init(), BARE2D::Camera2D::offsetFocus(), BARE2D::Camera2D::setFocus(), and BARE2D::Camera2D::update().
| glm::vec2 BARE2D::CameraState::scale = glm::vec2(1.0f) |
Definition at line 13 of file Camera2D.hpp.
Referenced by BARE2D::Camera2D::getScale(), BARE2D::Camera2D::getStatePosition(), BARE2D::Camera2D::getViewspaceCoord(), BARE2D::Camera2D::getViewspaceSize(), BARE2D::Camera2D::getWorldspaceCoord(), BARE2D::Camera2D::getWorldspaceSize(), BARE2D::Camera2D::init(), BARE2D::Camera2D::offsetScale(), BARE2D::Camera2D::setScale(), and BARE2D::Camera2D::update().