Added Camera.

This commit is contained in:
2014-03-09 20:32:57 +01:00
parent b5349ba93c
commit fcbf802cc2
6 changed files with 140 additions and 47 deletions
+4 -1
View File
@@ -19,6 +19,7 @@
#include <glm/gtc/type_ptr.hpp>
#include "glerror.h"
#include "Camera.h"
#include "ShaderProgram.h"
#include "Model.h"
@@ -33,7 +34,6 @@ public:
std::vector<Model*> ModelsToRender;
Renderer();
void Initialize();
@@ -46,11 +46,14 @@ public:
void LoadContent();
GLFWwindow* GetWindow() const { return m_Window; }
std::shared_ptr<Camera> GetCamera() const { return m_Camera; }
private:
GLFWwindow* m_Window;
GLint m_glVersion[2];
GLchar* m_glVendor;
std::shared_ptr<Camera> m_Camera;
};
#endif // Renderer_h__