Kameran följer spelaren :3

This commit is contained in:
ViktorLjung
2014-03-13 20:51:47 +01:00
parent d0320477a9
commit 3a57a18b4f
5 changed files with 82 additions and 51 deletions
+6
View File
@@ -7,6 +7,7 @@
#include "Components/Transform.h"
#include "Components/Input.h"
#include "Components/Collision.h"
#include "Components/Camera.h"
#include "Components/Bounds.h"
#include "logging.h"
@@ -26,6 +27,11 @@ namespace Systems
private:
float m_PlayerSpeed;
glm::vec3 m_PlayerOriginalBounds;
glm::vec3 m_CameraOffset;
glm::quat m_CameraOrientation;
bool freecamEnabled;
};
}