PopulationConfig: make fields private

This commit is contained in:
Simon Gardling 2025-03-28 00:17:31 -04:00
parent b0c9d3888e
commit b4e2390690
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -6,10 +6,10 @@ use std::fmt::{Display, Formatter};
/// A population configuration. /// A population configuration.
#[derive(Debug, Clone, Copy)] #[derive(Debug, Clone, Copy)]
pub struct PopulationConfig { pub struct PopulationConfig {
pub sensor_distance: f32, sensor_distance: f32,
pub step_distance: f32, step_distance: f32,
pub sensor_angle: f32, sensor_angle: f32,
pub rotation_angle: f32, rotation_angle: f32,
deposition_amount: f32, deposition_amount: f32,
} }