From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver] / hacks / glx / buildlwo.h
1 /*-
2  * buildlwo.h: Header file for Lightwave Object Display List Builder
3  * for OpenGL
4  *
5  * by Ed Mackey, 4/19/97
6  *
7  */
8
9 #ifndef __BUILD_LWO_H__
10 #define __BUILD_LWO_H__
11
12 #ifdef HAVE_CONFIG_H
13 # include "config.h"
14 #endif /* HAVE_CONFIG_H */
15
16 #ifdef STANDALONE
17 # ifndef HAVE_COCOA
18 #  include <GL/gl.h>
19 # endif
20 #endif
21
22 #ifdef HAVE_JWZGLES
23 # include "jwzgles.h"
24 #endif /* HAVE_JWZGLES */
25
26 struct lwo {
27         int             num_pnts;
28         const GLfloat  *pnts;
29         const GLfloat  *normals;
30         const unsigned  short int *pols;
31         const GLfloat  *smoothnormals;
32 };
33
34 GLuint      BuildLWO(int wireframe, const struct lwo *object);
35
36 #endif
37
38 /* End of buildlwo.h */