| 53 | } |
| 54 | |
| 55 | void OrthographicCameraController::SetPosition(const Maths::Vector3& position) { |
| 56 | m_orthographic_camera->SetPosition(position); |
| 57 | } |
| 58 | |
| 59 | void OrthographicCameraController::UpdateProjectionMatrix() { |
| 60 | m_orthographic_camera->SetProjectionMatrix(glm::ortho(-m_aspect_ratio * m_zoom_factor, m_aspect_ratio * m_zoom_factor, -m_zoom_factor, m_zoom_factor)); |
no outgoing calls
no test coverage detected