diff options
author | Constantin Riß <constantin.riss@dre.de> | 2010-02-07 16:52:50 +0100 |
---|---|---|
committer | Constantin Riß <constantin.riss@dre.de> | 2010-02-07 16:52:50 +0100 |
commit | f53113f02ea5369e50bd33232db3d2b48f64cc1c (patch) | |
tree | 5aa4a0a5fb301a9bedd50cc1445c844fb3175210 /NOTNEEDED/Cuboid.h | |
parent | abcf04bac0fe9b7b8358af6ed4e2f11d9bbb0fc8 (diff) | |
download | c3d-f53113f02ea5369e50bd33232db3d2b48f64cc1c.tar c3d-f53113f02ea5369e50bd33232db3d2b48f64cc1c.zip |
Cuboid nicht benätigt und NOTNEEDED ordner hinzugefügt und Fehler behoben
Diffstat (limited to 'NOTNEEDED/Cuboid.h')
-rw-r--r-- | NOTNEEDED/Cuboid.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/NOTNEEDED/Cuboid.h b/NOTNEEDED/Cuboid.h new file mode 100644 index 0000000..d1c600d --- /dev/null +++ b/NOTNEEDED/Cuboid.h @@ -0,0 +1,30 @@ +#ifndef _CUBOID_H_ +#define _CUBOID_H_ + +#include "Triangle.h" + +#include <list> + +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(); + float getWidth(); + float getDepth(); + float getPosX(); + float getPosY(); + float getPosZ(); + void setSize(float w, float h, float d); + void setPos(float x, float y, float z); + std::list<Triangle> getTriangles(); + + private: + float width, height, depth; + float x, y, z; + +}; +#endif /*_CUBOID_H_*/ + |