From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver] / hacks / glx / extrusion.h
1 /* -*- Mode: C; tab-width: 4 -*- */
2 /* extrusion --- extrusion module for xscreensaver */
3 /*-
4  * Permission to use, copy, modify, and distribute this software and its
5  * documentation for any purpose and without fee is hereby granted,
6  * provided that the above copyright notice appear in all copies and that
7  * both that copyright notice and this permission notice appear in
8  * supporting documentation.
9  *
10  * This file is provided AS IS with no warranties of any kind.  The author
11  * shall have no liability with respect to the infringement of copyrights,
12  * trade secrets or any patents by this file or any part thereof.  In no
13  * event will the author be liable for any lost revenue or profits or
14  * other special, indirect and consequential damages.
15   */
16
17 #ifndef __XSCREENSAVER_EXTRUSION_H__
18 #define __XSCREENSAVER_EXTRUSION_H__
19
20 #ifdef HAVE_CONFIG_H
21 # include <config.h>
22 #endif
23
24 #ifdef HAVE_COCOA
25 # include <GLUT/tube.h>    /* gle is included with GLUT on OSX */
26 #else  /* !HAVE_COCOA */
27 # include <GL/gl.h>
28 # include <GL/glu.h>
29 # ifdef HAVE_GLE3
30 #  include <GL/gle.h>
31 # else
32 #  include <GL/tube.h>
33 # endif
34 #endif /* !HAVE_COCOA */
35
36 #ifdef HAVE_JWZGLES
37 # include "jwzgles.h"
38 #endif /* HAVE_JWZGLES */
39
40 extern void InitStuff_helix2(void);
41 extern void DrawStuff_helix2(void);
42 extern void InitStuff_helix3(void);
43 extern void DrawStuff_helix3(void);
44 extern void InitStuff_helix4(void);
45 extern void DrawStuff_helix4(void);
46 extern void InitStuff_joinoffset(void);
47 extern void DrawStuff_joinoffset(void);
48 extern void InitStuff_screw(void);
49 extern void DrawStuff_screw(void);
50 extern void InitStuff_taper(void);
51 extern void DrawStuff_taper(void);
52 extern void InitStuff_twistoid(void);
53 extern void DrawStuff_twistoid(void);
54
55 #endif /* __XSCREENSAVER_EXTRUSION_H__ */