23 #ifndef HX3D_GRAPHICS_CAMERAS_ORTHOGRAPHICCAMERA 24 #define HX3D_GRAPHICS_CAMERAS_ORTHOGRAPHICCAMERA 26 #include "hx3d/graphics/cameras/camera.hpp" 55 void setToOrtho(
const float width,
const float height);
57 virtual void update()
override;
virtual void update() override
Update the camera.
2D orthographic camera w/ Z-buffer.
void setToOrtho(const float width, const float height)
Set the orthographic size.
OrthographicCamera()
Create an orthographic camera with the screen size.