venuss 0.0.2

Venus celestial simulation crate for the MilkyWay SolarSystem workspace
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub struct Paleolake {
    pub name: &'static str,
    pub estimated_area_km2: f64,
}

impl Paleolake {
    pub fn volume_km3(&self) -> f64 {
        self.estimated_area_km2 * 0.1
    }
}

pub fn hypothetical_early_lake() -> Paleolake {
    Paleolake {
        name: "Hypothetical Tessera Basin Lake",
        estimated_area_km2: 50_000.0,
    }
}