pub fn greenhouse(
    distance_to_primary_star: &f64,
    orbit_zone: &i32,
    surface_pressure_bar: &f64,
    ecosphere_radius: &f64,
) -> bool {
    let greenhouse_radius = ecosphere_radius * GREENHOUSE_EFFECT_CONST;
    *distance_to_primary_star < greenhouse_radius && *orbit_zone == 1 && *surface_pressure_bar > 0.0
}
/// Note that if the orbital radius of the planet is greater than or equal to R_inner, 99% of it's volatiles are assumed to have been deposited in surface reservoirs (otherwise, it suffers from the greenhouse effect).
Note that if the orbital radius of the planet is greater than or equal to R_inner, 99% of it's volatiles are assumed to have been deposited in surface reservoirs (otherwise, it suffers from the greenhouse effect).
Note that if the orbital radius of the planet is greater than or equal to R_inner 99% of it ' s volatiles are assumed to have been deposited in surface reservoirs ( otherwise it suffers from the greenhouse effect ) .
pub fn greenhouse(
    distance_to_primary_star: &f64,
    orbit_zone: &i32,
    surface_pressure_bar: &f64,
    ecosphere_radius: &f64,
) -> bool {
    let greenhouse_radius = ecosphere_radius * GREENHOUSE_EFFECT_CONST;
    *distance_to_primary_star < greenhouse_radius && *orbit_zone == 1 && *surface_pressure_bar > 0.0
}
pub fn greenhouse ( distance_to_primary_star : & f64 , orbit_zone : & i32 , surface_pressure_bar : & f64 , ecosphere_radius : & f64 , ) -> bool { let greenhouse_radius = ecosphere_radius * GREENHOUSE_EFFECT_CONST ; * distance_to_primary_star < greenhouse_radius && * orbit_zone == 1 && * surface_pressure_bar > 0.0 }
Note that if the orbital radius of the planet is greater than or equal to R_inner, 99% of it's volatiles are assumed to have been deposited in surface reservoirs (otherwise, it suffers from the greenhouse effect).
Note that if the orbital radius of the planet is greater than or equal to R_inner 99% of it ' s volatiles are assumed to have been deposited in surface reservoirs ( otherwise it suffers from the greenhouse effect ) .
distance_to_primary_star
&f64
orbit_zone
&i32
surface_pressure_bar
&f64
ecosphere_radius
&f64
distance_to_primary_star
&f64
orbit_zone
&i32
surface_pressure_bar
&f64
ecosphere_radius
&f64