diff options
Diffstat (limited to 'Cuboid.h')
-rw-r--r-- | Cuboid.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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_*/ |