ioss 0.0.3

Io celestial simulation crate for the MilkyWay SolarSystem workspace
Documentation
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct MountainFeature {
    pub name: &'static str,
    pub elevation_m: f64,
    pub slope_deg: f64,
}

impl MountainFeature {
    pub fn relief_energy(&self) -> f64 {
        self.elevation_m * self.slope_deg.to_radians().tan()
    }
}

pub fn boosaule_montes() -> MountainFeature {
    MountainFeature {
        name: "Boƶsaule Montes",
        elevation_m: 17_500.0,
        slope_deg: 40.0,
    }
}

pub fn euboea_montes() -> MountainFeature {
    MountainFeature {
        name: "Euboea Montes",
        elevation_m: 10_500.0,
        slope_deg: 35.0,
    }
}