2020-01-07 20:02:40 +01:00
|
|
|
//
|
|
|
|
// Created by karl on 07.01.20.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef ECSGAME_MOUSELOOK_H
|
|
|
|
#define ECSGAME_MOUSELOOK_H
|
|
|
|
|
|
|
|
struct MouseLook {
|
|
|
|
explicit MouseLook(float sensitivity) : sensitivity(sensitivity) {}
|
|
|
|
|
|
|
|
float sensitivity;
|
2020-01-07 22:13:47 +01:00
|
|
|
|
|
|
|
double yaw = 0.0;
|
|
|
|
double pitch = 0.0;
|
2020-10-03 17:43:24 +02:00
|
|
|
|
|
|
|
bool is_active;
|
2020-01-07 20:02:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //ECSGAME_MOUSELOOK_H
|