Ajout de caméra

This commit is contained in:
Marc-Eric Martel
2021-09-27 13:15:57 -04:00
parent 9d8378784d
commit 7b81f6be61
7 changed files with 186 additions and 24 deletions

View File

@@ -4,6 +4,7 @@
#include "openglcontext.h"
#include "texture.h"
#include "transformation.h"
#include "player.h"
class Engine : public OpenglContext
{
@@ -31,6 +32,8 @@ private:
Texture m_textureSkybox;
Texture m_textureCube;
Player m_player = Player(Vector3f(0, 0, 0));
bool m_keyW = false;
bool m_keyA = false;
bool m_keyS = false;