diff options
author | Constantin Riß <constantin.riss@dre.de> | 2009-12-09 15:59:14 +0100 |
---|---|---|
committer | Constantin Riß <constantin.riss@dre.de> | 2009-12-09 15:59:14 +0100 |
commit | 3b534c013dd072d0296ebaac434e8c943ab88c14 (patch) | |
tree | 13e3d7315ccc816a2b9d07a58e98655618177b03 /Trapezocube.h | |
parent | 482852aceacb54879c08e6fffc909a2cc160d483 (diff) | |
download | c3d-3b534c013dd072d0296ebaac434e8c943ab88c14.tar c3d-3b534c013dd072d0296ebaac434e8c943ab88c14.zip |
Beleuchtung hinzugefügt
Diffstat (limited to 'Trapezocube.h')
-rw-r--r-- | Trapezocube.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Trapezocube.h b/Trapezocube.h index b2cdd9a..3d64eaa 100644 --- a/Trapezocube.h +++ b/Trapezocube.h @@ -9,8 +9,8 @@ class Trapezocube { public: - Trapezocube(): widthfront(0), widthback(0), height(0), depth(0), x(0), y(0), z(0) {} - Trapezocube(float widthfront, float widthback, float height, float depth): x(0), y(0), z(0){ + Trapezocube(): widthfront(0), widthback(0), height(0), depth(0), x(0), y(0), z(0), rotate(0) {} + Trapezocube(float widthfront, float widthback, float height, float depth): x(0), y(0), z(0), rotate(0){ setSize(widthfront, widthback, height, depth); } Trapezocube(float widthfront, float widthback, float height, float depth, float x, float y, float z): rotate(0) { @@ -45,7 +45,7 @@ class Trapezocube } void setRotate(float r) {rotate = r;} void setColor(Color col) {color = col;} - std::list<Triangle> getTriangles(const Matrix &modelview); + std::list<Triangle> getTriangles(/*const Matrix &modelview*/); private: float x, y, z, widthfront, widthback, height, depth, rotate; |