]> git.hungrycats.org Git - xscreensaver/blob - hacks/glx/gllist.h
From https://www.jwz.org/xscreensaver/xscreensaver-6.09.tar.gz
[xscreensaver] / hacks / glx / gllist.h
1 /* xscreensaver, Copyright (c) 1998-2021 Jamie Zawinski <jwz@jwz.org>
2  *
3  * Permission to use, copy, modify, distribute, and sell this software and its
4  * documentation for any purpose is hereby granted without fee, provided that
5  * the above copyright notice appear in all copies and that both that
6  * copyright notice and this permission notice appear in supporting
7  * documentation.  No representations are made about the suitability of this
8  * software for any purpose.  It is provided "as is" without express or 
9  * implied warranty.
10  */
11
12 #ifndef __GLLIST_H__
13 #define __GLLIST_H__
14
15 #include "xlockmoreI.h"
16
17 struct gllist 
18 {
19   GLenum format;
20   GLenum primitive;
21   int points;
22   const void *data;
23   struct gllist *next;
24 };
25
26 void renderList (const struct gllist *, int wire_p);
27 void renderListNormals (const struct gllist *, GLfloat length, int facesp);
28
29 #endif /* __GLLIST_H__ */