X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fgllist.h;h=f598ff0074294749d7a884dfcd37dd3b674e3a30;hp=dacc89c48d1ee74477382365864a3b0b8a677d09;hb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;hpb=dba664f31aa87285db4d76cf8c5e66335299703a diff --git a/hacks/glx/gllist.h b/hacks/glx/gllist.h index dacc89c4..f598ff00 100644 --- a/hacks/glx/gllist.h +++ b/hacks/glx/gllist.h @@ -1,3 +1,14 @@ +/* xscreensaver, Copyright (c) 1998-2014 Jamie Zawinski + * + * Permission to use, copy, modify, distribute, and sell this software and its + * documentation for any purpose is hereby granted without fee, provided that + * the above copyright notice appear in all copies and that both that + * copyright notice and this permission notice appear in supporting + * documentation. No representations are made about the suitability of this + * software for any purpose. It is provided "as is" without express or + * implied warranty. + */ + #ifndef __GLLIST_H__ #define __GLLIST_H__ @@ -15,14 +26,16 @@ # include "jwzgles.h" #endif /* HAVE_JWZGLES */ -struct gllist{ - GLenum format; - GLenum primitive; - int points; - const void *data; - struct gllist *next; +struct gllist +{ + GLenum format; + GLenum primitive; + int points; + const void *data; + struct gllist *next; }; -void renderList(const struct gllist *list, int wire_p); +void renderList (const struct gllist *, int wire_p); +void renderListNormals (const struct gllist *, GLfloat length, int facesp); -#endif +#endif /* __GLLIST_H__ */