| 4 | namespace ZEngine::Rendering::Cameras { |
| 5 | |
| 6 | OrthographicCamera::OrthographicCamera(float left, float right, float bottom, float top) { |
| 7 | m_camera_type = CameraType::ORTHOGRAPHIC; |
| 8 | m_projection = Maths::ortho(left, right, bottom, top, -1.0f, 1.0f); |
| 9 | UpdateViewMatrix(); |
| 10 | } |
| 11 | |
| 12 | OrthographicCamera::OrthographicCamera(float left, float right, float bottom, float top, float degree_angle) { |
| 13 | m_camera_type = CameraType::ORTHOGRAPHIC; |
nothing calls this directly
no outgoing calls
no test coverage detected