object.h 236 B

12345678910111213141516
  1. #ifndef _OBJECT_
  2. #define _OBJECT_
  3. #include "mesh.h"
  4. #include "matrix.h"
  5. /* Combines a mesh with a matrix, in order to place an object
  6. * on the screen.
  7. */
  8. class Object : public Mesh2, public Matrix {
  9. public:
  10. void draw();
  11. };
  12. #endif