Rör på kameran!!! :D

This commit is contained in:
ViktorLjung
2014-03-10 00:48:48 +01:00
parent 622533c9b9
commit 928c6be1fe
5 changed files with 36 additions and 6 deletions
+1
View File
@@ -42,6 +42,7 @@ void Renderer::Initialize()
glEnable(GL_DEPTH_TEST);
// Create Camera
m_Camera = std::make_shared<Camera>(45.f, (float)WIDTH / HEIGHT, 0.01f, 1000.f);
m_Camera->Position(glm::vec3(0.0f, 0.0f, 2.f));