]> git.tdb.fi Git - libs/gl.git/blob - source/capsule.h
Drop Id tags and copyright notices from files
[libs/gl.git] / source / capsule.h
1 #ifndef MSP_GL_CAPSULE_H_
2 #define MSP_GL_CAPSULE_H_
3
4 #include <msp/gl/geometrybuilder.h>
5
6 namespace Msp {
7 namespace GL {
8
9 class CapsuleBuilder: public GeometryBuilder
10 {
11 private:
12         float radius;
13         float length;
14         unsigned segments;
15         unsigned rings;
16
17 public:
18         CapsuleBuilder(float, float, unsigned = 16, unsigned = 9);
19
20         virtual void build(PrimitiveBuilder &) const;
21 };
22
23 } // namepace GL
24 } // namespace Msp
25
26 #endif