summaryrefslogtreecommitdiffstats
path: root/Cuboid.h
diff options
context:
space:
mode:
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();