3 This file is part of the MSP Märklin suite
4 Copyright © 2010 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
13 Train3D::Train3D(Layout3D &l, const Train &t):
17 layout.add_train(*this);
22 layout.remove_train(*this);
25 Point Train3D::get_node() const
27 const Point &pos = train.get_position();
28 return Point(pos.x, pos.y, pos.z+0.02);
31 } // namespace Marklin