18 #ifndef __H__OCULAR_CORE_ROUTINE_FREE_FLY_CONTROLLER__H__
19 #define __H__OCULAR_CORE_ROUTINE_FREE_FLY_CONTROLLER__H__
21 #include "Scene/ARoutine.hpp"
22 #include "Math/Vector3.hpp"
23 #include "Math/Quaternion.hpp"
73 virtual void onUpdate(
float const delta)
override;
74 virtual bool onEvent(std::shared_ptr<AEvent> event)
override;
126 void handleMovement(
float delta);
127 void handleMouseRotation();
135 float m_LookSensitivity;
136 float m_MovementSpeed;
137 float m_BurstModifier;
void setBurstSpeedModifier(float modifier)
Definition: FreeFlyController.cpp:244
void setLookSensitivity(float sensitivity)
Definition: FreeFlyController.cpp:224
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: ARoutine.hpp:59
float getBurstSpeedModifier() const
Definition: FreeFlyController.cpp:249
Definition: FreeFlyController.hpp:62
void setPreventRoll(bool prevent)
Definition: FreeFlyController.cpp:254
Definition: Vector2.hpp:44
float getLookSensitivity() const
Definition: FreeFlyController.cpp:229
void setMovementSpeed(float speed)
Definition: FreeFlyController.cpp:234
virtual bool onEvent(std::shared_ptr< AEvent > event) override
Definition: FreeFlyController.cpp:82
float getMovementSpeed() const
Definition: FreeFlyController.cpp:239
bool getPreventRoll() const
Definition: FreeFlyController.cpp:259
virtual void onUpdate(float const delta) override
Definition: FreeFlyController.cpp:71