#ifndef CUBEDRAW3D_H
#define CUBEDRAW3D_H

#include <cube.h>
#include <cubedraw.h>

/*!
\brief Draw the cube in 3D.
*/
class cubedraw3d : public cubedraw
{
  /** Write the ith face. */
  void writeface(uintc i);
public:

  /** The side length of a face. */
  double dx;

  /** Initialize the parameters only. */ 
  cubedraw3d(cube const & cb_, doublec dx_);

  /** Write out the OpenGL directly. */
  void draw();
};


#endif


