titanss 0.0.3

Titanss is a celestial simulation crate for the MilkyWay SolarSystem workspace
Documentation
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum TitanRegion {
    MethaneLake,
    DuneField,
    IcyHighland,
    PolarSea,
}

pub fn named_region(latitude_deg: f64, longitude_deg: f64) -> TitanRegion {
    if latitude_deg > 55.0 && (280.0..=340.0).contains(&longitude_deg) {
        TitanRegion::PolarSea
    } else if latitude_deg > 55.0 {
        TitanRegion::MethaneLake
    } else if latitude_deg.abs() < 30.0 {
        TitanRegion::DuneField
    } else {
        TitanRegion::IcyHighland
    }
}