/* $Id$
-This file is part of the MSP Märklin suite
+This file is part of R²C²
Copyright © 2010 Mikkosoft Productions, Mikko Rasa
Distributed under the GPL
*/
-#ifndef MARKLIN3D_TRACKTYPE_H_
-#define MARKLIN3D_TRACKTYPE_H_
+#ifndef R2C2_3D_TRACKTYPE_H_
+#define R2C2_3D_TRACKTYPE_H_
#include <msp/gl/mesh.h>
#include <msp/gl/meshbuilder.h>
#include <msp/gl/renderable.h>
-#include "libmarklin/profile.h"
-#include "libmarklin/tracktype.h"
+#include "libr2c2/profile.h"
+#include "libr2c2/tracktype.h"
-namespace Marklin {
+namespace R2C2 {
class Catalogue3D;
public:
TrackType3D(const Catalogue3D &, const TrackType &);
+ ~TrackType3D();
void get_bounds(float, Point &, Point &) const;
const Msp::GL::Mesh &get_path_mesh(unsigned) const;
void build_part(const TrackPart &, const Profile &, const Point &, Msp::GL::MeshBuilder &, unsigned &);
};
-} // namespace Marklin
+} // namespace R2C2
#endif