pmc/include/cube.h
author Markus Bröker <mbroeker@largo.dyndns.tv>
Sat, 13 Dec 2008 17:57:56 +0100
changeset 4 236f8f747073
child 9 c3fecc82ade6
permissions -rw-r--r--
pimp my code, a small xdemo committer: Markus Bröker <mbroeker@largo.homelinux.org>

/***
 *
 * $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