]> git.tdb.fi Git - r2c2.git/blob - source/3d/rod.h
Strip Id tags and copyright notices from files
[r2c2.git] / source / 3d / rod.h
1 #ifndef LIBR2C23D_ROD_H_
2 #define LIBR2C23D_ROD_H_
3
4 #include <msp/gl/objectinstance.h>
5 #include "libr2c2/vehicle.h"
6
7 namespace R2C2 {
8
9 class Vehicle3D;
10
11 class Rod3D: public Msp::GL::ObjectInstance
12 {
13 private:
14         const Vehicle &vehicle;
15         const Vehicle::Rod &rod;
16
17 public:
18         Rod3D(const Vehicle3D &, unsigned);
19
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;
22 };
23
24 } // namespace R2C2
25
26 #endif