diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-11-27 21:11:46 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-11-27 21:11:46 +0100 |
commit | 873bf9be915d5c46b6bbdbcd788fb94b646ee6fb (patch) | |
tree | 80969c935918a12dbade97862160753f66a8ecc7 /Cuboid.h | |
parent | 59360094e5ac1ddeb5eda365ac4ccf765786635f (diff) | |
download | c3d-873bf9be915d5c46b6bbdbcd788fb94b646ee6fb.tar c3d-873bf9be915d5c46b6bbdbcd788fb94b646ee6fb.zip |
Cuboid und DisplayClass aktualisiert
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_*/ |