summaryrefslogtreecommitdiffstats
path: root/src/gldisc.cpp
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-12-07 14:24:13 +0100
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-12-07 14:24:13 +0100
commitea5d94326bb6c159d7ee3d7965d7fc17992af09d (patch)
tree380fd2d866d5a5005d9cb1b386acf9b1a2dd68e0 /src/gldisc.cpp
parent898405e38c354f582bb1af9faade52c7da943a4b (diff)
downloadMultimedia-ea5d94326bb6c159d7ee3d7965d7fc17992af09d.tar.gz
Multimedia-ea5d94326bb6c159d7ee3d7965d7fc17992af09d.zip
Add GLDisc skeleton
Diffstat (limited to 'src/gldisc.cpp')
-rw-r--r--src/gldisc.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gldisc.cpp b/src/gldisc.cpp
new file mode 100644
index 0000000..cf65450
--- /dev/null
+++ b/src/gldisc.cpp
@@ -0,0 +1,17 @@
+#include "gldisc.h"
+
+GLDisc::GLDisc(double radius, double height, int sides)
+ :GLBody(radius)
+{
+
+}
+
+void GLDisc::makeSurface(QVector<GLPoint> *pointContainer, QVector<GLshort> *indexContainer)
+{
+
+}
+
+bool GLDisc::isHit(QVector3D p1, QVector3D p2)
+{
+
+}