summaryrefslogtreecommitdiffstats
path: root/Cuboid.h
diff options
context:
space:
mode:
Diffstat (limited to 'Cuboid.h')
-rw-r--r--Cuboid.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Cuboid.h b/Cuboid.h
index 661dc0d..d54e5d2 100644
--- a/Cuboid.h
+++ b/Cuboid.h
@@ -9,20 +9,21 @@
class Cuboid
{
- public:
- Cuboid(float height, float width, float depth, float x, float y, float z);
+ public:
+ Cuboid(float width, float height, float depth);
+ Cuboid(float width, float height, float depth, float x, float y, float z);
float getHeight();
float getWidth();
float getDepth();
float getPosX();
float getPosY();
float getPosZ();
- void setSize(float h, float w, float d);
+ void setSize(float w, float h, float d);
void setPos(float x, float y, float z);
std::list<Triangle> getTriangles(const Matrix &modelview);
private:
- float height, width, depth;
+ float width, height, depth;
float x, y, z;
};
#endif /*_CUBOID_H_*/