MCPcopy Create free account
hub / github.com/JeanPhilippeKernel/RendererEngine / Initialize

Method Initialize

ZEngine/src/OrbitCameraController.cpp:14–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace 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;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected