diff options
author | Wilrik de Loose <wilrik@wilrik.nl> | 2007-12-20 11:34:23 (GMT) |
---|---|---|
committer | Wilrik de Loose <wilrik@wilrik.nl> | 2007-12-20 11:34:23 (GMT) |
commit | 465c136f94ef4e48d0705e94d8fdc522b901882f (patch) | |
tree | 212c1caaf1079f420c7f09da7e22da3bf118fb9e /Smoke/fluids.c | |
parent | 6e60076c7bf4b928da25ab37d59b8b38a1588eab (diff) | |
download | 2iv35-465c136f94ef4e48d0705e94d8fdc522b901882f.zip 2iv35-465c136f94ef4e48d0705e94d8fdc522b901882f.tar.gz 2iv35-465c136f94ef4e48d0705e94d8fdc522b901882f.tar.bz2 |
Diffstat (limited to 'Smoke/fluids.c')
-rw-r--r-- | Smoke/fluids.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Smoke/fluids.c b/Smoke/fluids.c index 8e8620a..5027700 100644 --- a/Smoke/fluids.c +++ b/Smoke/fluids.c @@ -20,7 +20,7 @@ //--- SIMULATION PARAMETERS ------------------------------------------------------------------------ const int DIM = 50; //size of simulation grid -int var_dims = 50; +int var_dims = 25; double dt = 0.4; //simulation time step float visc = 0.001f; //fluid viscosity fftw_real *vx, *vy; //(vx,vy) = velocity field at the current moment @@ -39,7 +39,7 @@ int vis_dataset = DATASET_RHO; int active_slider = 0; int glyph_scalar = SCALAR_RHO; int glyph_vector = VECTOR_VEL; -int glyph_sort = GLYPH_CYLINDERS; +int glyph_sort = GLYPH_ARROWS; GLuint startList; float threshold1 = 0.2f; float threshold2 = 2.0f; |