Reference Manual
Inti Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

shapes.h

Go to the documentation of this file.
00001 /*  Inti-GL: Integrated Foundation Classes
00002  *  Copyright (C) 2003 The Inti Development Team.
00003  *
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  This program is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU Library General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU Library General Public License
00015  *  along with this program; if not, write to the Free Software
00016  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00017  */
00018 
00021 
00022 #ifndef INTI_GDK_GL_SHAPES_H
00023 #define INTI_GDK_GL_SHAPES_H
00024 
00025 #ifndef __GDK_GL_SHAPES_H__
00026 #include <gdk/gdkglshapes.h>
00027 #endif
00028 
00029 namespace Inti {
00030 
00031 namespace Gdk {
00032 
00033 namespace GL {
00034 
00037 
00038 void draw_cube(bool solid, double   size);
00044 
00045 void draw_sphere(bool solid, double radius, int slices, int stacks);
00053 
00054 void draw_cone(bool solid, double base, double height, int slices, int stacks);
00064 
00065 void draw_torus(bool solid, double inner_radius, double outer_radius, int nsides, int rings);
00073 
00074 void draw_tetrahedron(bool solid);
00077 
00078 void draw_octahedron(bool solid);
00081 
00082 void draw_dodecahedron(bool solid);
00086 
00087 void draw_icosahedron(bool solid);
00092 
00093 void draw_teapot(bool solid, double scale);
00100 
00102 
00103 } // namespace GL
00104 
00105 } // namespace Gdk
00106 
00107 } // namespace Inti
00108 
00109 #endif // INTI_GDK_GL_SHAPES_H
00110 
Main Page - Footer


Generated on Sun Sep 14 20:59:26 2003 for Inti-GL by doxygen 1.3.2 written by Dimitri van Heesch, © 1997-2002