Skip to content
Snippets Groups Projects
Commit cb17edde authored by Pascal Engeler's avatar Pascal Engeler
Browse files

Added camera position to draw()

parent 82d6e56a
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ public: ...@@ -6,7 +6,7 @@ public:
Drawable() = default; Drawable() = default;
virtual ~Drawable() = default; virtual ~Drawable() = default;
virtual void draw(glm::mat4 projection, glm::mat4 view, glm::mat4 model) = 0; //potentially pass the view matrix here virtual void draw(glm::mat4 projection, glm::mat4 view, glm::mat4 model, glm::vec3 camera_pos) = 0;
virtual void upload() = 0; virtual void upload() = 0;
virtual void unload() = 0; virtual void unload() = 0;
}; };
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment