[ADD] made camera follow the character with lerp

This commit is contained in:
Nathalie Seen
2021-06-08 10:55:48 +02:00
parent 86383aace5
commit edbbfb136a
6 changed files with 35 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ namespace scene
models::ModelTexture texture;
shaders::EntityShader* shader;
shaders::GuiShader* gui_shader;
entities::Camera camera(glm::vec3(0, 100, 0), glm::vec3(0, 0, 0));
entities::Camera camera(glm::vec3(0, 0, 0), glm::vec3(0, 0, 0));
std::vector<gui::GuiTexture*> guis;
models::TexturedModel model;