1 #ifndef MSP_GLTK_PARTCACHE_H_
2 #define MSP_GLTK_PARTCACHE_H_
4 #include <msp/gl/mesh.h>
5 #include <msp/gl/texture2d.h>
15 const GL::Texture2D *texture;
25 typedef std::list<CachedPart> PartList;
30 PartList::iterator next;
31 PartList::iterator current;
37 void insert_special(const Part &);
38 GL::Mesh &create_mesh(const Part &, const GL::Texture2D &);
41 const PartList &get_parts() const { return parts; }