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"
14 #include "3d/layout.h"
19 class TrackWrap: public Msp::GL::Renderable
28 R2C2::Layout3D &layout;
30 std::map<const R2C2::TrackType *, Msp::GL::Mesh *> meshes;
31 std::list<Wrap> wraps;
34 TrackWrap(R2C2::Layout3D &, Selection &);
37 virtual void render(const Msp::GL::Tag &) const;
40 void selection_changed();
41 Msp::GL::Mesh &get_mesh(const R2C2::TrackType &);