#include <msp/gl/object.h>
#include "libr2c2/profile.h"
#include "libr2c2/tracktype.h"
+#include "objecttype.h"
namespace R2C2 {
-class Catalogue3D;
-
-class TrackType3D
+class TrackType3D: public ObjectType3D
{
private:
- Catalogue3D &catalogue;
Msp::GL::Mesh *mesh;
Msp::GL::Object *object;
bool own_data;
private:
void build_part(const TrackPart &, const Profile &, const Vector &, bool, Msp::GL::MeshBuilder &, unsigned &);
+ void build_ties(const TrackPart &, const Profile &, float, float, const Vector &, Msp::GL::MeshBuilder &, unsigned &);
};
} // namespace R2C2