summaryrefslogtreecommitdiffstats
path: root/src/glitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glitem.cpp')
-rw-r--r--src/glitem.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/glitem.cpp b/src/glitem.cpp
index 47b2acc..47e2c03 100644
--- a/src/glitem.cpp
+++ b/src/glitem.cpp
@@ -430,6 +430,13 @@ void GLItem::createF(double height)
createCube(QVector3D(stdLength, height - 2.0 * stdLength, 0.0),QVector3D(2.0 * stdLength, height - 3.0 * stdLength, stdLength));
}
+void GLItem::drawF(double height)
+{
+ m_renderer->scale(QVector3D(300.0, 300.0, 300.0));
+
+ createCube(QVector3D(0.0, 0.0, 0.0), QVector3D(1.0, 1.0, 1.0));
+}
+
void GLItem::createAxis(double length, const QVector3D & origin, const QVector3D & axis,
const QVector3D & normal, const QVector3D & texCoord,
const GLColorRgba& color)