]> git.tdb.fi Git - r2c2.git/blob - source/3d/vehicletype.h
Add vehicles
[r2c2.git] / source / 3d / vehicletype.h
1 /* $Id$
2
3 This file is part of the MSP Märklin suite
4 Copyright © 2010  Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
6 */
7
8 #ifndef LIBMARKLIN3D_VEHICLETYPE_H_
9 #define LIBMARKLIN3D_VEHICLETYPE_H_
10
11 #include <msp/gl/mesh.h>
12 #include "libmarklin/vehicletype.h"
13
14 namespace Marklin {
15
16 class Catalogue3D;
17
18 class VehicleType3D
19 {
20 private:
21         Msp::GL::Mesh body_mesh;
22
23 public:
24         VehicleType3D(Catalogue3D &, const VehicleType &);
25
26         const Msp::GL::Mesh &get_body_mesh() const { return body_mesh; }
27 };
28
29 } // namespace Marklin
30
31 #endif