12 extern double MIN_PARTICLE_RADIUS;
13 extern double MAX_PARTICLE_RADIUS;
14 extern double MIN_VELOCITY;
15 extern double MAX_VELOCITY;
16 extern double X_DIMENSION_SIZE;
17 extern double Y_DIMENSION_SIZE;
18 extern double Z_DIMENSION_SIZE;
21 extern double LOOKAHEAD_TIME;
22 extern double MAX_LOOKAHEAD_TIME;
23 extern int MAX_QUEUE_SIZE;
24 extern int TIMESTEP_LIMIT;
26 extern int TARGET_FRAMERATE;
28 extern int LOOKAHEAD_TIMESTEPS;
31 const int MIN_FRAMERATE = 15;
32 const int MAX_FRAMERATE = 510;
33 const int QUEUE_SIZE_MULTIPLIER = 1000;
39 const int ALG_SPEED_SCALE = 50;
40 const double DISPLAY_SIDE = 600;
41 const double SIZE_MULTIPLIER_2D = DISPLAY_SIDE / X_DIMENSION_SIZE * 0.5;
42 const double VELOCITY_MULTIPLIER = 0.0003 * X_DIMENSION_SIZE / ALG_SPEED_SCALE;
43 const int MIN_NUM_PARTICLES = 1;
44 const int MAX_NUM_PARTICLES = 1000;
45 extern double GRAVITY;
48 const int X_DIMENSION = 0;
49 const int Y_DIMENSION = 1;
50 const int Z_DIMENSION = 2;
53 extern int MAX_PARTICLES_PER_LEVEL;
54 extern int MAX_LEVELS;
62 const int CELL_SIZE = MAX_PARTICLE_RADIUS*5;
int SEED
The seed used by the random number generator.
Definition: constants.cpp:12
int NUM_PARTICLES
The number of particles.
Definition: constants.cpp:4