solarsystems 0.0.1

N-body solar system engine — gravitational dynamics, orbital mechanics, perturbations, event detection, and full celestial orchestration
Documentation
pub use ::callistos::environment;
pub use ::callistos::exosphere;
pub use ::callistos::geodata;
pub use ::callistos::geology;
pub use ::callistos::interactions;
pub use ::callistos::lighting;
pub use ::callistos::missions;
pub use ::callistos::observation;
pub use ::callistos::physics;
pub use ::callistos::rendering;
pub use ::callistos::resources;
pub use ::callistos::surface;
pub use ::callistos::temporal;
pub use ::callistos::terrain;

pub fn orbit() -> ::callistos::physics::orbit::CallistoOrbit {
    ::callistos::physics::orbit::CallistoOrbit::new()
}

pub fn surface_gravity() -> f64 {
    ::callistos::SURFACE_GRAVITY_M_S2
}

pub fn escape_velocity() -> f64 {
    ::callistos::ESCAPE_VELOCITY_M_S
}

pub fn geometric_albedo() -> f64 {
    ::callistos::GEOMETRIC_ALBEDO
}

pub fn orbital_period_s() -> f64 {
    ::callistos::physics::orbit::CallistoOrbit::new().orbital_period_s()
}

pub fn periapsis() -> f64 {
    ::callistos::physics::orbit::CallistoOrbit::new().periapsis_m()
}

pub fn apoapsis() -> f64 {
    ::callistos::physics::orbit::CallistoOrbit::new().apoapsis_m()
}

pub fn terrain_shader() -> crate::rendering::shaders::ShaderEndpoint {
    crate::rendering::shaders::ShaderEndpoint::terrain()
}

pub fn exosphere_shader() -> crate::rendering::shaders::ShaderEndpoint {
    crate::rendering::shaders::ShaderEndpoint::exosphere()
}

pub fn eclipse_shader() -> crate::rendering::shaders::ShaderEndpoint {
    crate::rendering::shaders::ShaderEndpoint::eclipse()
}