]> git.tdb.fi Git - r2c2.git/blob - source/3d/endpoint.h
Sprinkle some comments on the routing system
[r2c2.git] / source / 3d / endpoint.h
1 #ifndef R2C2_3D_ENDPOINT_H_
2 #define R2C2_3D_ENDPOINT_H_
3
4 #include <msp/gl/mesh.h>
5 #include <msp/gl/renderable.h>
6 #include "libr2c2/track.h"
7
8 namespace R2C2 {
9
10 class Track3D;
11
12 class Endpoint3D: public Msp::GL::Renderable
13 {
14 private:
15         const Track3D &track;
16         unsigned index;
17         const Msp::GL::Mesh &mesh;
18
19 public:
20         Endpoint3D(const Track3D &, unsigned);
21         ~Endpoint3D();
22
23         virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;
24 };
25
26 } // namespace R2C2
27
28 #endif