1 2 3 4 5 6 7 8 9
use cometsfactory::types::ShortPeriod; pub fn create() -> ShortPeriod { ShortPeriod::new(2.4e3, 2.2152, 0.8483) .with_density(600.0) .with_albedo(0.046) .with_inclination(11.78_f64.to_radians()) .with_active_fraction(0.01) }