summaryrefslogtreecommitdiffstats
path: root/src/mmscene.h
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-11-13 12:16:26 +0100
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-11-13 12:16:26 +0100
commit0aa9701b362f520e75c0ba417b3eea730632be26 (patch)
treecff81ef7364b8a1d0e20a41881ab6cc6b63c93fa /src/mmscene.h
parent735f71d208ef91a2f5cb64c8865446fa7a46de35 (diff)
downloadMultimedia-0aa9701b362f520e75c0ba417b3eea730632be26.tar.gz
Multimedia-0aa9701b362f520e75c0ba417b3eea730632be26.zip
Use the new GLSphere
Diffstat (limited to 'src/mmscene.h')
-rw-r--r--src/mmscene.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mmscene.h b/src/mmscene.h
index a70321e..3940104 100644
--- a/src/mmscene.h
+++ b/src/mmscene.h
@@ -3,6 +3,7 @@
#include "glcube.h"
#include "glitem.h"
+#include "glsphere.h"
class MMScene : public GLItem
{
@@ -46,6 +47,11 @@ protected:
virtual void createCube(const QVector3D &lbb, const QVector3D &rtf);
/**
+ * @brief createSphere Creates a sphere and apends it for drawing,
+ */
+ void createSphere();
+
+ /**
* @brief createF Creates an 'F' with cubes.
* @param height The height of the 'F'.
*/
@@ -60,6 +66,7 @@ protected:
private:
GLCube *m_cube;
+ GLSphere *m_sphere;
};
#endif // MMSCENE_H