-/* $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;
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;