quick backup of the renderer - things missing
[demo] / src / mesh.h
index 36a79cd..a7fb327 100644 (file)
@@ -24,12 +24,15 @@ public:
        std::vector<Vec3> normals;
        std::vector<Vec3> tangents;
        std::vector<Vec2> tex_coords;
+
        std::string name;
+       unsigned int mat_idx;
 
-       unsigned int which_mask;
 
        Mesh();
        virtual ~Mesh() = 0;
+
+       virtual void draw() const = 0;
 };
 
 #endif // MESH_H_
\ No newline at end of file