nothing special
This commit is contained in:
parent
c25b0d1795
commit
4e688c3fa7
3
TODO.md
3
TODO.md
@ -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
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user