Advertisement
Guest User

Untitled

a guest
Dec 5th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #pragma once
  2. #include <string>
  3. #include <vector>
  4. #include <glm\glm.hpp>
  5. #include <GLEW/GL/glew.h>
  6. #include "Mesh.h"
  7.  
  8. class Scene
  9. {
  10. public:
  11. Scene();
  12. ~Scene();
  13. void AddMesh(std::string file);
  14. void DrawScene();
  15. void Clear();
  16.  
  17. private:
  18. glm::mat4 m_viewMatrix;
  19. glm::mat4 m_projectionMatrix;
  20. GLuint m_viewMatrixID;
  21. GLuint m_projectionMatrixID;
  22. GLuint m_shaderID;
  23. GLuint m_lightAmountID;
  24. GLuint m_lightDirectionID;
  25. std::vector<Mesh> m_meshes;
  26. //Light m_light;
  27. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement