#ifndef GLSPHERE_H #define GLSPHERE_H #include #include "glbody.h" class GLSphere : public GLBody { public: GLSphere(double radius = 1.0, int stacks = 10, int slices = 10); virtual void makeSurface(QVector *pointContainer, QVector *indexContainer); private: /** * @brief calculatePoint * @param zRotation * @param yRotation * @return */ QVector3D calculatePoint(double sliceRotation, double stackRotation); int m_stacks; int m_slices; }; #endif // GLSPHERE_H