changeset 4 | 236f8f747073 |
child 9 | c3fecc82ade6 |
new file mode 100644 --- /dev/null +++ b/pmc/include/cube.h @@ -0,0 +1,25 @@ +/*** + * + * $Id: cube.h,v 1.1.1.1 2008-04-28 17:33:22 mbroeker Exp $ + * $Source: /development/cpp/pmc/include/cube.h,v $ + */ + +#ifndef _CUBE_H +#define _CUBE_H + +#include <pmc.h> + +using namespace pmc; + +class Cube:public Vector { + public: + Vector * P[8]; + int height; + + Cube (Vector p1, Vector p2, Vector p3, Vector p4, int h); + virtual ~ Cube (); + void show (); + void move (Vector); +}; + +#endif