pmc/include/cube.h
author Markus Bröker <mbroeker@largo.localnet>
Thu, 16 Apr 2009 12:49:11 +0200
changeset 38 48f6f3918b82
parent 34 4a35f239fe5b
child 42 83b8151b966d
permissions -rw-r--r--
Project Split finished 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