diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-12-09 16:28:58 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-12-09 16:28:58 +0100 |
commit | 8705ce3d468c3cd22159bc0fedf727e8250861ca (patch) | |
tree | f94debc4b7f52badac6052f016e9ab2f9232b095 /Trapezocube.h | |
parent | 3035d4c9e76d6f28579d0b5a024e1c1b2a538919 (diff) | |
parent | 3b534c013dd072d0296ebaac434e8c943ab88c14 (diff) | |
download | c3d-8705ce3d468c3cd22159bc0fedf727e8250861ca.tar c3d-8705ce3d468c3cd22159bc0fedf727e8250861ca.zip |
Merge branch 'master' of git://git.gamezock.de/c3d
Conflicts:
DisplayClass.cpp
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; |