X-Git-Url: http://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=model.hpp;h=358b92d07701211a99eff67692e1ec56045f6468;hp=e0c8a2d93acd0a4e7fedcd542bcc4a36cb1746a9;hb=511a2c92fcb9dda82dd5d38b91ea03790d0cb7b2;hpb=0291188124d08368ce28b308482604218bd75393 diff --git a/model.hpp b/model.hpp index e0c8a2d..358b92d 100644 --- a/model.hpp +++ b/model.hpp @@ -20,8 +20,8 @@ class Model { }; public: - Model(const std::string &path, Program p, Skybox s); - void draw() const; + Model(const std::string &path, Program p); + void draw(Skybox skybox) const; class Node { public: @@ -43,7 +43,6 @@ class Model { private: const Program program; - const Skybox skybox; std::vector meshes; Node *root;