fixed terrain rendering - visualized normals
[demo] / src / mesh.h
index 57165ba..82f5c48 100644 (file)
@@ -19,7 +19,6 @@ public:
        std::vector<uint16_t> indices;
        std::vector<Vec3> vertices;
        std::vector<Vec3> normals;
-       std::vector<Vec3> tangents;
        std::vector<Vec2> tex_coords;
 
        std::string name;
@@ -30,6 +29,7 @@ public:
        virtual ~Mesh() = 0;
 
        virtual void draw() const = 0;
+       virtual void draw_normals(float scale) const = 0;
        virtual void update_vertex_data() = 0;
 };