http://svn.poeml.de/viewvc/ppc/src-unpacked/xscreensaver/xscreensaver-4.12.tar.bz2...
[xscreensaver] / hacks / glx / ants.h
1 /* ants.h -- header file containing common ant parameters
2  *
3  * Permission to use, copy, modify, and distribute this software and its
4  * documentation for any purpose and without fee is hereby granted,
5  * provided that the above copyright notice appear in all copies and that
6  * both that copyright notice and this permission notice appear in
7  * supporting documentation.
8  *
9  * This file is provided AS IS with no warranties of any kind.  The author
10  * shall have no liability with respect to the infringement of copyrights,
11  * trade secrets or any patents by this file or any part thereof.  In no
12  * event will the author be liable for any lost revenue or profits or
13  * other special, indirect and consequential damages.
14  *
15  * Copyright 2003 Blair Tennessy
16 */
17
18 static GLfloat MaterialRed[] = {0.6, 0.0, 0.0, 1.0};
19 /*static GLfloat MaterialPurple[] = {0.6, 0.2, 0.5, 1.0};*/
20 /*static GLfloat MaterialOrange[] = {1.0, 0.69, 0.00, 1.0};*/
21 /*static GLfloat MaterialGreen[] = {0.1, 0.5, 0.2, 0.2};*/
22 /*static GLfloat MaterialBlue[] = {0.4, 0.4, 0.8, 1.0};*/
23 /*static GLfloat MaterialCyan[] = {0.2, 0.5, 0.7, 1.0};*/
24 /*static GLfloat MaterialYellow[] = {0.7, 0.7, 0.0, 1.0};*/
25 static GLfloat MaterialMagenta[] = {0.6, 0.2, 0.5, 1.0};
26 /*static GLfloat MaterialWhite[] = {0.7, 0.7, 0.7, 1.0};*/
27 static GLfloat MaterialGray[] = {0.2, 0.2, 0.2, 1.0};
28 static GLfloat MaterialGrayB[] = {0.1, 0.1, 0.1, 0.5};
29 /*static GLfloat MaterialGray35[] = {0.30, 0.30, 0.30, 1.0};*/
30
31 static GLfloat MaterialGray5[] = {0.5, 0.5, 0.5, 1.0};
32 static GLfloat MaterialGray6[] = {0.6, 0.6, 0.6, 1.0};
33 static GLfloat MaterialGray8[] = {0.8, 0.8, 0.8, 1.0};
34
35 typedef struct {
36
37   double position[3];
38   double goal[3];
39   double velocity;
40   double direction;
41   double step;
42
43   GLfloat *material;
44
45 } Ant;