3 This file is part of R²C²
4 Copyright © 2011 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
8 #ifndef LIBR2C23D_BOGIE_H_
9 #define LIBR2C23D_BOGIE_H_
11 #include <msp/gl/objectinstance.h>
12 #include "libr2c2/vehicle.h"
18 class Bogie3D: public Msp::GL::ObjectInstance
21 const Vehicle &vehicle;
22 const Vehicle::Bogie &bogie;
25 Bogie3D(const Vehicle3D &, unsigned);
27 virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;
28 virtual void setup_render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;