00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
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 }
00104
00105 }
00106
00107 }
00108
00109 #endif // INTI_GDK_GL_SHAPES_H
00110