#ifndef _CUBOID_H_ #define _CUBOID_H_ #include "Triangle.h" #include "Matrix.h" #include #include class Cuboid { public: Cuboid(float height, float width, float depth, float x, float y, float z); float getHeight(); float getWidth(); float getDepth(); float getPosX(); float getPosY(); float getPosZ(); void setSize(float h, float w, float d); void setPos(float x, float y, float z); std::list getTriangles(const Matrix &modelview); private: float height, width, depth; float x, y, z; }; #endif /*_CUBOID_H_*/