1 #ifndef R2C2_3D_VEHICLEPART_H_
2 #define R2C2_3D_VEHICLEPART_H_
4 #include <msp/gl/objectinstance.h>
11 class VehiclePart3D: public Msp::GL::ObjectInstance
14 const Vehicle3D &vehicle;
15 Msp::GL::Matrix matrix;
17 VehiclePart3D(const Vehicle3D &, const Msp::GL::Object &);
20 virtual void update_matrix() = 0;
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;