cleanup Buf struct
This commit is contained in:
@@ -71,7 +71,7 @@ impl Grid {
|
||||
height,
|
||||
data,
|
||||
config: PopulationConfig::new(rng),
|
||||
buf: Buf::new(width, height, vec![0.0; width * height]),
|
||||
buf: Buf::new(width, height),
|
||||
blur: Blur::new(width),
|
||||
agents,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user