summaryrefslogtreecommitdiffstats
path: root/Trapezocube.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-12-10 00:32:11 +0100
committerMatthias Schiffer <matthias@gamezock.de>2009-12-10 00:32:11 +0100
commit59b00645ccfbade509b1d1694c9fcfc68e013a10 (patch)
tree5df4d3b47810d2d95589f9e7c58653349578f195 /Trapezocube.h
parent4731d3f4cf576d791db21ac1932fd91f9b43ff3a (diff)
downloadc3d-59b00645ccfbade509b1d1694c9fcfc68e013a10.tar
c3d-59b00645ccfbade509b1d1694c9fcfc68e013a10.zip
Zu vmmlib migriert
Diffstat (limited to 'Trapezocube.h')
-rw-r--r--Trapezocube.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Trapezocube.h b/Trapezocube.h
index 3d64eaa..694ecde 100644
--- a/Trapezocube.h
+++ b/Trapezocube.h
@@ -2,7 +2,6 @@
#define _TRAPEZOCUBE_H_
#include "gl.h"
-#include "Color.h"
#include "Triangle.h"
#include <list>
@@ -44,12 +43,12 @@ class Trapezocube
this->z = z;
}
void setRotate(float r) {rotate = r;}
- void setColor(Color col) {color = col;}
+ void setColor(const vmml::vec4f &col) {color = col;}
std::list<Triangle> getTriangles(/*const Matrix &modelview*/);
private:
float x, y, z, widthfront, widthback, height, depth, rotate;
- Color color;
+ vmml::vec4f color;
};
#endif /*_TRAPEZOCUBE_H_ */