| 12 | namespace ZEngine::Controllers { |
| 13 | |
| 14 | void OrbitCameraController::Initialize() { |
| 15 | PerspectiveCameraController::Initialize(); |
| 16 | #ifdef __linux__ |
| 17 | m_move_speed = 0.85f; |
| 18 | m_rotation_speed = 0.005f; |
| 19 | #else |
| 20 | m_move_speed = 1.f; |
| 21 | m_rotation_speed = 0.2f; |
| 22 | #endif |
| 23 | } |
| 24 | |
| 25 | void OrbitCameraController::Update(Core::TimeStep dt) { |
| 26 | static Maths::Vector2 last_mouse_cursor_pos; |
nothing calls this directly
no outgoing calls
no test coverage detected