nothing special

This commit is contained in:
Simon Gardling 2021-04-01 02:07:00 -04:00
parent c25b0d1795
commit 4e688c3fa7
3 changed files with 3 additions and 3 deletions

View File

@ -8,4 +8,5 @@
- sin/cos table?
- Make colisions for walls of grid
- Add config and cmd arguments when running the binary to adjust simulation settings
- Rewrite `grid.rs`
- Rewrite `grid.rs`
- Move agent list to grid type

View File

@ -9,7 +9,7 @@ fn main() {
let (width, height) = (1024, 1024);
// # of agents
let n_particles = 1 << 26;
let n_particles = 1 << 24;
// let n_particles = 1 << 16;
println!("n_particles: {}", n_particles);

View File

@ -270,7 +270,6 @@ impl Model {
if self.grids[0].width > 1024 && self.grids[0].height > 1024 && self.img_data_vec.len() > 100 {
self.render_all_imgdata();
self.flush_image_data();
}
}