private:
Catalogue &catalogue;
std::map<const ObjectType *, ObjectType3D *> objects;
- Msp::GL::Mesh endpoint_mesh;
+ std::map<const TrackAppearance *, Msp::GL::Mesh *> endpoint_meshes;
public:
Catalogue3D(Catalogue &);
{ return dynamic_cast<const typename TypeMap3D<T>::Type3D &>(get_3d(static_cast<const ObjectType &>(ot))); }
private:
- void build_endpoint_mesh();
+ void build_endpoint_mesh(const TrackAppearance &);
public:
- const Msp::GL::Mesh &get_endpoint_mesh() const { return endpoint_mesh; }
+ const Msp::GL::Mesh &get_endpoint_mesh(const TrackAppearance &) const;
private:
Msp::FS::Path locate_file(const std::string &);