Copyright © 2010 Mikkosoft Productions, Mikko Rasa
Distributed under the GPL
*/
#include <msp/gl/meshbuilder.h>
Copyright © 2010 Mikkosoft Productions, Mikko Rasa
Distributed under the GPL
*/
#include <msp/gl/meshbuilder.h>
Catalogue3D::Catalogue3D(Catalogue &c):
catalogue(c),
endpoint_mesh((GL::NORMAL3, GL::VERTEX3))
{
catalogue.signal_track_added.connect(sigc::mem_fun(this, &Catalogue3D::track_added));
Catalogue3D::Catalogue3D(Catalogue &c):
catalogue(c),
endpoint_mesh((GL::NORMAL3, GL::VERTEX3))
{
catalogue.signal_track_added.connect(sigc::mem_fun(this, &Catalogue3D::track_added));
- const map<unsigned, TrackType *> &trks = catalogue.get_tracks();
- for(map<unsigned, TrackType *>::const_iterator i=trks.begin(); i!=trks.end(); ++i)
+ const Catalogue::TrackMap &trks = catalogue.get_tracks();
+ for(Catalogue::TrackMap::const_iterator i=trks.begin(); i!=trks.end(); ++i)