From 3b534c013dd072d0296ebaac434e8c943ab88c14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20Ri=C3=9F?= Date: Wed, 9 Dec 2009 15:59:14 +0100 Subject: =?UTF-8?q?Beleuchtung=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Trapezocube.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Trapezocube.h') 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 getTriangles(const Matrix &modelview); + std::list getTriangles(/*const Matrix &modelview*/); private: float x, y, z, widthfront, widthback, height, depth, rotate; -- cgit v1.2.3