From f414b39a8d935b41c1d9b04b3a4642ad633c0ad0 Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Tue, 13 Oct 2015 10:46:42 +0200 Subject: Add createCube function --- src/glitem.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/glitem.h') diff --git a/src/glitem.h b/src/glitem.h index 268dbeb..5e60ee6 100644 --- a/src/glitem.h +++ b/src/glitem.h @@ -124,6 +124,13 @@ protected: */ virtual void drawAxes(double length); + /** + * @brief createCubef Creates a cube and apends it for drawing. + * @param lbb The left bottom back cube vector. + * @param rtf The right top front cube vector. + */ + virtual void createCube(const QVector3D &lbb, const QVector3D &rtf); + /** * @brief createAxes Creates x, y and z axis with specified length starting for (0,0,0) * @param length Axes length. -- cgit v1.2.3-70-g09d2