moons 0.0.1

Moon celestial simulation crate for the MilkyWay SolarSystem workspace
Documentation
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct ShaderData {
    pub exposure: f32,
    pub gamma: f32,
    pub dust_intensity: f32,
}

impl ShaderData {
    pub fn terrain() -> Self {
        Self {
            exposure: 1.1,
            gamma: 2.2,
            dust_intensity: 0.15,
        }
    }

    pub fn eclipse() -> Self {
        Self {
            exposure: 0.4,
            gamma: 2.2,
            dust_intensity: 0.05,
        }
    }
}