Feature/night sky items (#2613)

* added night sky items and camera event
---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
This commit is contained in:
Micah Acinapura
2023-04-16 17:29:48 -04:00
committed by GitHub
parent 8a62752434
commit 5a9bb529f3
30 changed files with 1751 additions and 48 deletions
@@ -98,6 +98,8 @@ public:
void tickIdleBehaviorTimer(double deltaTime);
void triggerIdleBehavior(std::string_view choice = "");
void tickMovementTimer(float deltaTime);
Camera* camera() const;
void setCamera(Camera* camera);
void clearPreviousState();
@@ -253,6 +255,8 @@ private:
IdleBehavior _idleBehavior;
float _idleBehaviorTriggerTimer = 0.f;
float _movementTimer = 0.f;
/**
* Decomposes the camera's rotation in to a global and a local rotation defined by
* CameraRotationDecomposition. The global rotation defines the rotation so that the