pmc/include/cube.h
author Markus Bröker <mbroeker@largo.dyndns.tv>
Sat, 13 Dec 2008 17:58:06 +0100
changeset 13 2640a7fd96ca
parent 9 c3fecc82ade6
child 34 4a35f239fe5b
permissions -rw-r--r--
clear() is better than resize(0) committer: Markus Bröker <mbroeker@largo.homelinux.org>

/**
 * test/demos/pmc/include/cube.h
 * Copyright (C) 2008 Markus Broeker
 */

#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