1 #ifndef LIBR2C23D_AXLE_H_
2 #define LIBR2C23D_AXLE_H_
4 #include <msp/gl/objectinstance.h>
5 #include "libr2c2/vehicle.h"
11 class Axle3D: public Msp::GL::ObjectInstance
14 const Vehicle &vehicle;
15 const Vehicle::Bogie *bogie;
16 const Vehicle::Axle &axle;
19 Axle3D(const Vehicle3D &, unsigned);
20 Axle3D(const Vehicle3D &, unsigned, unsigned);
22 virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;
23 virtual void setup_render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;