]> git.tdb.fi Git - r2c2.git/blob - source/3d/rod.h
Instantly set turnout paths when loading state
[r2c2.git] / source / 3d / rod.h
1 #ifndef R2C2_3D_ROD_H_
2 #define R2C2_3D_ROD_H_
3
4 #include <msp/gl/objectinstance.h>
5 #include "libr2c2/vehicle.h"
6 #include "vehiclepart.h"
7
8 namespace R2C2 {
9
10 class Rod3D: public VehiclePart3D
11 {
12 private:
13         const Vehicle::Rod &rod;
14
15 public:
16         Rod3D(const Vehicle3D &, unsigned);
17
18         virtual void update_matrix();
19 };
20
21 } // namespace R2C2
22
23 #endif