3 This file is part of R²C²
4 Copyright © 2010 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
11 #include <msp/gl/mesh.h>
12 #include <msp/gl/renderable.h>
13 #include "libr2c2/track.h"
18 class TrackWrap: public Msp::GL::Renderable
29 std::map<const R2C2::TrackType *, Msp::GL::Mesh *> meshes;
30 std::list<Wrap> wraps;
33 TrackWrap(Designer &, Selection &);
36 virtual void render(const Msp::GL::Tag &) const;
39 void selection_changed();
40 Msp::GL::Mesh &get_mesh(const R2C2::TrackType &);