summaryrefslogtreecommitdiffstats
path: root/hacks/glx/ants.h
blob: d0bef7e18e14535101f01e5602e953b333a97cd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* ants.h -- header file containing common ant parameters
 *
 * Permission to use, copy, modify, and distribute this software and its
 * documentation for any purpose and without fee is hereby granted,
 * provided that the above copyright notice appear in all copies and that
 * both that copyright notice and this permission notice appear in
 * supporting documentation.
 *
 * This file is provided AS IS with no warranties of any kind.  The author
 * shall have no liability with respect to the infringement of copyrights,
 * trade secrets or any patents by this file or any part thereof.  In no
 * event will the author be liable for any lost revenue or profits or
 * other special, indirect and consequential damages.
 *
 * Copyright 2003 Blair Tennessy
*/

/* static const GLfloat MaterialRed[] = {0.6, 0.0, 0.0, 1.0}; */
/*static const GLfloat MaterialPurple[] = {0.6, 0.2, 0.5, 1.0};*/
/*static const GLfloat MaterialOrange[] = {1.0, 0.69, 0.00, 1.0};*/
/*static const GLfloat MaterialGreen[] = {0.1, 0.5, 0.2, 0.2};*/
/*static const GLfloat MaterialBlue[] = {0.4, 0.4, 0.8, 1.0};*/
/*static const GLfloat MaterialCyan[] = {0.2, 0.5, 0.7, 1.0};*/
/*static const GLfloat MaterialYellow[] = {0.7, 0.7, 0.0, 1.0};*/
/* static const GLfloat MaterialMagenta[] = {0.6, 0.2, 0.5, 1.0}; */
/*static const GLfloat MaterialWhite[] = {0.7, 0.7, 0.7, 1.0};*/
static const GLfloat MaterialGray[] = {0.2, 0.2, 0.2, 1.0};
static const GLfloat MaterialGrayB[] = {0.1, 0.1, 0.1, 0.5};
/*static const GLfloat MaterialGray35[] = {0.30, 0.30, 0.30, 1.0};*/

static const GLfloat MaterialGray5[] = {0.5, 0.5, 0.5, 1.0};
static const GLfloat MaterialGray6[] = {0.6, 0.6, 0.6, 1.0};
/* static const GLfloat MaterialGray8[] = {0.8, 0.8, 0.8, 1.0};*/

typedef struct {

  double position[3];
  double goal[3];
  double velocity;
  double direction;
  double step;

  const GLfloat *material;

} Ant;