summaryrefslogtreecommitdiffstats
path: root/src/mmscene.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mmscene.h')
-rw-r--r--src/mmscene.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/mmscene.h b/src/mmscene.h
index 78df57a..7745206 100644
--- a/src/mmscene.h
+++ b/src/mmscene.h
@@ -1,10 +1,11 @@
#ifndef MMSCENE_H
#define MMSCENE_H
+#include "glchessboard.h"
#include "glcube.h"
+#include "gldisc.h"
#include "glitem.h"
#include "glsphere.h"
-#include "gldisc.h"
class MMScene : public GLItem
{
@@ -51,16 +52,21 @@ protected:
virtual void createCube(const QVector3D &lbb, const QVector3D &rtf);
/**
- * @brief createSphere Creates a sphere and apends it for drawing,
+ * @brief createSphere Creates a sphere and appends it for drawing,
*/
void createSphere();
/**
- * @brief createDisc Creates a disc and apends it for drawing.
+ * @brief createDisc Creates a disc and appends it for drawing.
*/
void createDisc();
/**
+ * @brief createChessboard Creates a chessboard and appends it for drawing.
+ */
+ void createChessboard();
+
+ /**
* @brief createF Creates an 'F' with cubes.
* @param height The height of the 'F'.
*/
@@ -79,6 +85,8 @@ private:
GLDisc *m_disc;
+ GLChessboard *m_chessboard;
+
/**
* @brief m_MouseNear
* The near point of a mouse click or movement.