A demo program for DOGL-128 LCD module. Based on Mike Sheldon's 3D Tie Fighter demo.

Dependencies:   mbed

Committer:
igorsk
Date:
Thu Jan 14 00:49:39 2010 +0000
Revision:
0:2a5dccfd318f

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
igorsk 0:2a5dccfd318f 1 /*
igorsk 0:2a5dccfd318f 2 * libmbed-graphics 2D and wireframe 3D graphics library for the MBED
igorsk 0:2a5dccfd318f 3 * microcontroller platform
igorsk 0:2a5dccfd318f 4 * Copyright (C) <2009> Michael Sheldon <mike@mikeasoft.com>
igorsk 0:2a5dccfd318f 5 *
igorsk 0:2a5dccfd318f 6 * This library is free software; you can redistribute it and/or
igorsk 0:2a5dccfd318f 7 * modify it under the terms of the GNU Library General Public
igorsk 0:2a5dccfd318f 8 * License as published by the Free Software Foundation; either
igorsk 0:2a5dccfd318f 9 * version 2 of the License, or (at your option) any later version.
igorsk 0:2a5dccfd318f 10 *
igorsk 0:2a5dccfd318f 11 * This library is distributed in the hope that it will be useful,
igorsk 0:2a5dccfd318f 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
igorsk 0:2a5dccfd318f 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
igorsk 0:2a5dccfd318f 14 * Library General Public License for more details.
igorsk 0:2a5dccfd318f 15 *
igorsk 0:2a5dccfd318f 16 * You should have received a copy of the GNU Library General Public
igorsk 0:2a5dccfd318f 17 * License along with this library; if not, write to the
igorsk 0:2a5dccfd318f 18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
igorsk 0:2a5dccfd318f 19 * Boston, MA 02111-1307, USA.
igorsk 0:2a5dccfd318f 20 */
igorsk 0:2a5dccfd318f 21
igorsk 0:2a5dccfd318f 22 #ifndef MBED_CUBOID_H
igorsk 0:2a5dccfd318f 23 #define MBED_CUBOID_H
igorsk 0:2a5dccfd318f 24
igorsk 0:2a5dccfd318f 25 #include "Object3D.h"
igorsk 0:2a5dccfd318f 26
igorsk 0:2a5dccfd318f 27 /* Class: Cuboid
igorsk 0:2a5dccfd318f 28 * Displays a 3D wireframe cuboid.
igorsk 0:2a5dccfd318f 29 */
igorsk 0:2a5dccfd318f 30 class Cuboid : public Object3D {
igorsk 0:2a5dccfd318f 31
igorsk 0:2a5dccfd318f 32 public:
igorsk 0:2a5dccfd318f 33 Cuboid();
igorsk 0:2a5dccfd318f 34
igorsk 0:2a5dccfd318f 35 /* Function: render
igorsk 0:2a5dccfd318f 36 * Draws the cuboid to the specified graphical context.
igorsk 0:2a5dccfd318f 37 *
igorsk 0:2a5dccfd318f 38 * Parameters:
igorsk 0:2a5dccfd318f 39 * g - The graphical context to which this cuboid should be rendered.
igorsk 0:2a5dccfd318f 40 */
igorsk 0:2a5dccfd318f 41 virtual void render(Graphics &g);
igorsk 0:2a5dccfd318f 42
igorsk 0:2a5dccfd318f 43 };
igorsk 0:2a5dccfd318f 44 #endif