X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=src%2Fmesh.h;h=82f5c48199947358106fe341a483548871449ca0;hb=243eb502c5dc70e586a9e81815234069bf623480;hp=a7fb32735947227e84b4b17683779e5b55b32d6f;hpb=0da7a98f74d00bfa6cf0d47fd7cf0f687eeba5f6;p=demo diff --git a/src/mesh.h b/src/mesh.h index a7fb327..82f5c48 100644 --- a/src/mesh.h +++ b/src/mesh.h @@ -15,14 +15,10 @@ 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; @@ -33,6 +29,8 @@ public: virtual ~Mesh() = 0; virtual void draw() const = 0; + virtual void draw_normals(float scale) const = 0; + virtual void update_vertex_data() = 0; }; #endif // MESH_H_ \ No newline at end of file