Space Comps
 All Classes Files Functions Variables
Variables
constants.h File Reference

Go to the source code of this file.

Variables

int NUM_PARTICLES
 The number of particles.
 
double MIN_PARTICLE_RADIUS
 
double MAX_PARTICLE_RADIUS
 
double MIN_VELOCITY
 
double MAX_VELOCITY
 
double X_DIMENSION_SIZE
 
double Y_DIMENSION_SIZE
 
double Z_DIMENSION_SIZE
 
int SEED
 The seed used by the random number generator.
 
double LOOKAHEAD_TIME
 
double MAX_LOOKAHEAD_TIME
 
int MAX_QUEUE_SIZE
 
int TIMESTEP_LIMIT
 
int FRAMERATE
 
int TARGET_FRAMERATE
 
int LOOKAHEAD_TIMESTEPS
 
const int MIN_FRAMERATE = 15
 
const int MAX_FRAMERATE = 510
 
const int QUEUE_SIZE_MULTIPLIER = 1000
 
const int ALG_SPEED_SCALE = 50
 
const double DISPLAY_SIDE = 600
 
const double SIZE_MULTIPLIER_2D = DISPLAY_SIDE / X_DIMENSION_SIZE * 0.5
 
const double VELOCITY_MULTIPLIER = 0.0003 * X_DIMENSION_SIZE / ALG_SPEED_SCALE
 
const int MIN_NUM_PARTICLES = 1
 
const int MAX_NUM_PARTICLES = 1000
 
double GRAVITY
 
const int X_DIMENSION = 0
 
const int Y_DIMENSION = 1
 
const int Z_DIMENSION = 2
 
int MAX_PARTICLES_PER_LEVEL
 
int MAX_LEVELS
 
const int CELL_SIZE = MAX_PARTICLE_RADIUS*5