restructuring
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use crate::{
|
||||
blur::Blur,
|
||||
model::Agent,
|
||||
agent::Agent,
|
||||
};
|
||||
|
||||
use rand::{distributions::Uniform, Rng};
|
||||
@@ -86,11 +86,11 @@ pub struct Grid {
|
||||
pub width: usize,
|
||||
pub height: usize,
|
||||
|
||||
data: Vec<f32>,
|
||||
pub data: Vec<f32>,
|
||||
|
||||
// Scratch space for the blur operation.
|
||||
buf: Vec<f32>,
|
||||
blur: Blur,
|
||||
pub buf: Vec<f32>,
|
||||
pub blur: Blur,
|
||||
pub agents: Vec<Agent>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user