23 #include "hx3d/graphics/cameras/orthographic_camera.hpp" 25 #include "hx3d/core/core.hpp" 26 #include "hx3d/window/application.hpp"
float viewportHeight
Viewport height.
glm::vec3 up
Camera up vector.
glm::mat4 view
View matrix.
virtual void update() override
Update the camera.
glm::mat4 projection
Projection matrix.
2D orthographic camera w/ Z-buffer.
float viewportWidth
Viewport width.
glm::vec3 position
Camera position.
void setToOrtho(const float width, const float height)
Set the orthographic size.
Centralized framework management.
OrthographicCamera()
Create an orthographic camera with the screen size.
glm::vec3 direction
Camera direction.