]> git.tdb.fi Git - libs/gl.git/blob - source/cylinder.h
Suppress some deprecation warnings from internal use
[libs/gl.git] / source / cylinder.h
1 #ifndef MSP_GL_CYLINDER_H_
2 #define MSP_GL_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         using GeometryBuilder::build;
20         virtual void build(PrimitiveBuilder &) const;
21 };
22
23 } // namespace GL
24 } // namespace Msp
25
26 #endif