changeset 4 | 236f8f747073 |
child 9 | c3fecc82ade6 |
3:820ed7fb9314 | 4:236f8f747073 |
---|---|
1 /*** |
|
2 * |
|
3 * $Id: cube.h,v 1.1.1.1 2008-04-28 17:33:22 mbroeker Exp $ |
|
4 * $Source: /development/cpp/pmc/include/cube.h,v $ |
|
5 */ |
|
6 |
|
7 #ifndef _CUBE_H |
|
8 #define _CUBE_H |
|
9 |
|
10 #include <pmc.h> |
|
11 |
|
12 using namespace pmc; |
|
13 |
|
14 class Cube:public Vector { |
|
15 public: |
|
16 Vector * P[8]; |
|
17 int height; |
|
18 |
|
19 Cube (Vector p1, Vector p2, Vector p3, Vector p4, int h); |
|
20 virtual ~ Cube (); |
|
21 void show (); |
|
22 void move (Vector); |
|
23 }; |
|
24 |
|
25 #endif |