ecsgame/ECS/Components/MouseLook.h
karl 074ec20e1b Add interactive path editing
The PathMovementSwitchSystem was repurposed to a general InteractivePathSystem for this. It handles switching and adding points, as both seem like sensible possibilities for such entities to have.
2020-10-03 18:05:55 +02:00

22 lines
337 B
C

//
// 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;
double yaw = 0.0;
double pitch = 0.0;
glm::quat rotation;
bool is_active;
};
#endif //ECSGAME_MOUSELOOK_H