summaryrefslogtreecommitdiffstats
path: root/Cuboid.h
diff options
context:
space:
mode:
authorConstantin Riß <constantin.riss@dre.de>2009-12-02 18:21:53 +0100
committerConstantin Riß <constantin.riss@dre.de>2009-12-02 18:21:53 +0100
commit8c8948a6fc78aa769ac4ceeb0a1e6d0471376ef1 (patch)
tree7f474dfba68d6b2d1764c734be1db0540f0a0929 /Cuboid.h
parent21736d4fee7e61b08227982a8402584887abda1e (diff)
downloadc3d-8c8948a6fc78aa769ac4ceeb0a1e6d0471376ef1.tar
c3d-8c8948a6fc78aa769ac4ceeb0a1e6d0471376ef1.zip
Mehr Quader([5][5][5]), Quader nur einmal erzeugen
Diffstat (limited to 'Cuboid.h')
-rw-r--r--Cuboid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cuboid.h b/Cuboid.h
index d54e5d2..05580e1 100644
--- a/Cuboid.h
+++ b/Cuboid.h
@@ -10,6 +10,7 @@
class Cuboid
{
public:
+ Cuboid() : width(0), height(0), depth(0), x(0), y(0), z(0) {}
Cuboid(float width, float height, float depth);
Cuboid(float width, float height, float depth, float x, float y, float z);
float getHeight();