X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=src%2Fmesh.h;h=ed40f5d7ece57bdfecea9f3a7632026c500b9c66;hb=197f20b5d4db937029f7b585be23ee7fe5da66dc;hp=6482bde46d291a7f843d1c4d72f1e6251f024121;hpb=46cc932f7ddb0c81f352bc847973dae6b327ebeb;p=demo diff --git a/src/mesh.h b/src/mesh.h index 6482bde..ed40f5d 100644 --- a/src/mesh.h +++ b/src/mesh.h @@ -15,23 +15,21 @@ enum { }; class Mesh { -private: - // call before draw in gl - virtual void update_vertex_data() = 0; public: std::vector indices; std::vector vertices; std::vector normals; - std::vector tangents; std::vector tex_coords; std::string name; unsigned int mat_idx; - unsigned int which_mask; Mesh(); virtual ~Mesh() = 0; + + virtual void draw() const = 0; + virtual void update_vertex_data() = 0; }; #endif // MESH_H_ \ No newline at end of file