Add extra skyboxes
[opengl.git] / model.hpp
index de8e27f8639f8c422de78127faa300ec15b4fd45..358b92d07701211a99eff67692e1ec56045f6468 100644 (file)
--- a/model.hpp
+++ b/model.hpp
@@ -9,6 +9,7 @@
 #include <assimp/Importer.hpp>
 #include "material.hpp"
 #include "program.hpp"
+#include "skybox.hpp"
 
 class Model {
 
@@ -20,12 +21,12 @@ class Model {
        
        public:
                Model(const std::string &path, Program p);
-               void draw() const;
+               void draw(Skybox skybox) const;
 
                class Node {
                        public:
                                Node(const aiNode &aiNode, GLuint progId);
-                               void draw(const std::vector<Mesh> &meshes, const std::vector<Material> &materials, glm::mat4 parentModel) const;
+                               void draw(const std::vector<Mesh> &meshes, const std::vector<Material> &materials, const Skybox s, glm::mat4 parentModel) const;
                                const std::vector<Node*> &getChildren() const { return children; }
                                Node* findNode(const aiNode &aiNode);
                                glm::mat4 model = glm::mat4(1);