1 #ifndef LIBR2C23D_ROD_H_
2 #define LIBR2C23D_ROD_H_
4 #include <msp/gl/objectinstance.h>
5 #include "libr2c2/vehicle.h"
11 class Rod3D: public Msp::GL::ObjectInstance
14 const Vehicle &vehicle;
15 const Vehicle::Rod &rod;
18 Rod3D(const Vehicle3D &, unsigned);
20 virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;
21 virtual void setup_render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;