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

Added material usage in constructor

parent ea4932cb
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@
#include <map>
#include <shader.hpp>
#include <framebuffer.hpp>
#include <material.hpp>
struct ObjectMetadata;
......@@ -21,7 +22,7 @@ struct VertexData{
class Layer{
public:
Layer(std::string name, std::string filename, float zOffset);
Layer(std::string name, std::string filename, float zOffset, Material mat);
void draw(glm::mat4 projection, glm::mat4 view, glm::mat4 model, int drawing_mode, int selected_index);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment