summaryrefslogtreecommitdiffstats
path: root/Cuboid.h
diff options
context:
space:
mode:
authorunknown <Constantin@.(none)>2010-01-17 01:20:51 +0100
committerunknown <Constantin@.(none)>2010-01-17 01:20:51 +0100
commit67575ef92fc93cd63d3f6518feefcdf8f4625968 (patch)
treea65fca4b7c51a5e335d7bba90541ec0afa24d20d /Cuboid.h
parentf382c18643d16bf6656e508d611817aaf0c29704 (diff)
downloadc3d-67575ef92fc93cd63d3f6518feefcdf8f4625968.tar
c3d-67575ef92fc93cd63d3f6518feefcdf8f4625968.zip
windows unterstützung
Diffstat (limited to 'Cuboid.h')
-rw-r--r--Cuboid.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/Cuboid.h b/Cuboid.h
index 25d9f73..d1c600d 100644
--- a/Cuboid.h
+++ b/Cuboid.h
@@ -5,26 +5,26 @@
#include <list>
-class Cuboid
-{
+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();
-
+ 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 width, height, depth;
float x, y, z;
-
-};
+
+};
#endif /*_CUBOID_H_*/