summaryrefslogtreecommitdiffstats
path: root/Trapezocube.h
diff options
context:
space:
mode:
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_ */