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