From http://www.jwz.org/xscreensaver/xscreensaver-5.18.tar.gz
[xscreensaver] / hacks / glx / stonerview-move.h
1 /* StonerView: An eccentric visual toy.
2    Copyright 1998-2001 by Andrew Plotkin (erkyrath@eblong.com)
3
4    Permission to use, copy, modify, distribute, and sell this software and its
5    documentation for any purpose is hereby granted without fee, provided that
6    the above copyright notice appear in all copies and that both that
7    copyright notice and this permission notice appear in supporting
8    documentation.  No representations are made about the suitability of this
9    software for any purpose.  It is provided "as is" without express or 
10    implied warranty.
11 */
12
13 #ifndef __STONERVIEW_MOVE_H__
14 #define __STONERVIEW_MOVE_H__
15
16 typedef struct {
17   GLfloat pos[3];
18   GLfloat vervec[2];
19   GLfloat col[4];
20 } stonerview_elem_t;
21
22 extern void stonerview_init_move(stonerview_state *);
23 extern void stonerview_final_move(stonerview_state *);
24 extern void stonerview_move_increment(stonerview_state *);
25
26
27 extern stonerview_state * stonerview_init_view(int wireframe_p, 
28                                                int transparent_p);
29 extern void stonerview_win_draw(stonerview_state *);
30 extern void stonerview_win_release(stonerview_state *);
31
32 #endif /* __STONERVIEW_MOVE_H__ */