44 _leftBtnPressed(false),
45 _rightBtnPressed(false),
87 switch (e.key.keysym.scancode) {
void setTarget(float x, float y, float z)
bool handleCameraInput(const Events::Event &e)
Engine utility class for camera handling where camera rotates around PC.
void setPitch(float value)
Keyboard key was pressed.
#define DECLARE_SINGLETON(T)
Note that you need to use this macro from the global namespace.
void setDistance(float value)
void setHeight(float value)
#define CameraMan
Shortcut for accessing the camera manager.
static const float kRotationSpeed
static float rad2deg(float rad)
Keyboard key was released.
static float deg2rad(float deg)