http://slackware.bholcomb.com/slackware/slackware-11.0/source/xap/xscreensaver/xscree...
[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 STANDALONE
13 # ifdef HAVE_COCOA
14 #  include <OpenGL/gl.h>
15 # else
16 #  include <GL/gl.h>
17 # endif
18 #endif
19
20 struct lwo {
21         int             num_pnts;
22         const GLfloat  *pnts;
23         const GLfloat  *normals;
24         const unsigned  short int *pols;
25         const GLfloat  *smoothnormals;
26 };
27
28 GLuint      BuildLWO(int wireframe, const struct lwo *object);
29
30 #endif
31
32 /* End of buildlwo.h */