X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fcatalogue.h;h=ea4182893b36a3b1f3823b36e99f08e66577fbbe;hb=d405b9943c888e3945c7ea4e496f9d300b114fe0;hp=1cc096a67b9588ca3dbffb5867f43bc0129695aa;hpb=d6816c177ee8d5f5191e833dce8e3c4e7e0222bf;p=r2c2.git diff --git a/source/3d/catalogue.h b/source/3d/catalogue.h index 1cc096a..ea41828 100644 --- a/source/3d/catalogue.h +++ b/source/3d/catalogue.h @@ -17,7 +17,7 @@ class Catalogue3D: public Msp::DataFile::Collection private: Catalogue &catalogue; std::map objects; - Msp::GL::Mesh endpoint_mesh; + std::map endpoint_meshes; public: Catalogue3D(Catalogue &); @@ -34,9 +34,9 @@ public: { return dynamic_cast::Type3D &>(get_3d(static_cast(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 &);