diff options
Diffstat (limited to 'src/others/mimesh/g3dviewer-0.2.99.4/src/gl.h')
-rw-r--r-- | src/others/mimesh/g3dviewer-0.2.99.4/src/gl.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/src/gl.h b/src/others/mimesh/g3dviewer-0.2.99.4/src/gl.h new file mode 100644 index 0000000..82d360d --- /dev/null +++ b/src/others/mimesh/g3dviewer-0.2.99.4/src/gl.h | |||
@@ -0,0 +1,37 @@ | |||
1 | /* $Id: gl.h 41 2006-05-22 12:23:29Z mmmaddd $ */ | ||
2 | |||
3 | /* | ||
4 | G3DViewer - 3D object viewer | ||
5 | |||
6 | Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de> | ||
7 | |||
8 | This program is free software; you can redistribute it and/or modify | ||
9 | it under the terms of the GNU General Public License as published by | ||
10 | the Free Software Foundation; either version 2 of the License, or | ||
11 | (at your option) any later version. | ||
12 | |||
13 | This program is distributed in the hope that it will be useful, | ||
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | GNU General Public License for more details. | ||
17 | |||
18 | You should have received a copy of the GNU General Public License | ||
19 | along with this program; if not, write to the Free Software | ||
20 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
21 | */ | ||
22 | |||
23 | #ifndef _GL_H | ||
24 | #define _GL_H | ||
25 | |||
26 | #define G3D_FLAG_GL_SPECULAR (1L << 0) | ||
27 | #define G3D_FLAG_GL_SHININESS (1L << 1) | ||
28 | #define G3D_FLAG_GL_ALLTWOSIDE (1L << 2) | ||
29 | #define G3D_FLAG_GL_TEXTURES (1L << 3) | ||
30 | |||
31 | void gl_set_twoside(gboolean twoside); | ||
32 | void gl_set_textures(gboolean textures); | ||
33 | void gl_load_texture(gpointer key, gpointer value, gpointer data); | ||
34 | void gl_draw(gint32 glflags, gfloat zoom, gfloat aspect, gfloat *bgcolor, | ||
35 | gfloat *quat, G3DModel *model); | ||
36 | |||
37 | #endif | ||