]> git.tdb.fi Git - r2c2.git/blobdiff - source/designer/trackwrap.h
Strip Id tags and copyright notices from files
[r2c2.git] / source / designer / trackwrap.h
index 2f21125c6b703b2ba05b97b834ec5637c7570565..480e7bb0f12404fbfef1004e29a0824759dea84f 100644 (file)
@@ -1,16 +1,10 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2010  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #ifndef TRACKWRAP_H_
 #define TRACKWRAP_H_
 
 #include <msp/gl/mesh.h>
 #include <msp/gl/renderable.h>
 #include "libr2c2/track.h"
+#include "3d/layout.h"
 
 class Designer;
 class Selection;
@@ -24,13 +18,14 @@ private:
                Msp::GL::Mesh *mesh;
        };
 
-       Designer &designer;
+       R2C2::Layout3D &layout;
        Selection &selection;
        std::map<const R2C2::TrackType *, Msp::GL::Mesh *> meshes;
        std::list<Wrap> wraps;
 
 public:
-       TrackWrap(Designer &, Selection &);
+       TrackWrap(R2C2::Layout3D &, Selection &);
+       ~TrackWrap();
 
        virtual void render(const Msp::GL::Tag &) const;