7 #include <gmath/gmath.h>
22 std::vector<uint16_t> indices;
23 std::vector<Vec3> vertices;
24 std::vector<Vec3> normals;
25 std::vector<Vec2> tex_coords;
32 virtual void draw() const = 0;
33 virtual void draw_normals(float scale) const = 0;
34 virtual bool update_vertex_data() = 0;
35 virtual void transform(const Mat4 &mat);
36 virtual void invalidate();