This commit is contained in:
Simon Gardling
2021-03-31 10:24:56 -04:00
parent bec6340607
commit 32bfd1b27e
9 changed files with 66 additions and 54 deletions

View File

@@ -25,7 +25,7 @@ impl Clone for PopulationConfig {
rotation_angle: self.rotation_angle,
decay_factor: self.decay_factor,
deposition_amount: self.deposition_amount,
}
};
}
}
@@ -93,13 +93,13 @@ pub struct Grid {
impl Clone for Grid {
fn clone(&self) -> Grid {
return Grid {
config: self.config.clone(),
width: self.width.clone(),
height: self.height.clone(),
data: self.data.clone(),
buf: self.buf.clone(),
config: self.config.clone(),
width: self.width.clone(),
height: self.height.clone(),
data: self.data.clone(),
buf: self.buf.clone(),
blur: self.blur.clone(),
}
};
}
}