Skip to content

Commit 75b0f1e

Browse files
committed
remove iss and hubble
1 parent 298dbec commit 75b0f1e

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

assets/bodies.sim

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

assets/models/hubble.glb

-10.9 MB
Binary file not shown.

assets/models/iss.glb

-42.4 MB
Binary file not shown.

src/billboard.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use crate::star_renderer::STAR_IMPOSTER_DIVIDER;
1313
use crate::ui::UiState;
1414

1515
const STAR_VISIBILITY_THRESHOLD: f32 = 40_000_000.0; //if the camera's radius is less than this, stars' names will be hidden
16-
const PLANET_VISIBILITY_THRESHOLD: f32 = 1500.0; //if the camera's radius is less than this, planets' names will be hidden
16+
const PLANET_VISIBILITY_THRESHOLD: f32 = 1700.0; //if the camera's radius is less than this, planets' names will be hidden
1717
//const MOON_VISIBILITY_THRESHOLD: f32 = 0.001; //if the camera's radius is less than this, moons' names will be hidden
1818
const RADIUS_DIVIDER: f32 = 3700.0;
1919
const TRANSLATION_MULTIPLIER: f32 = 2000.0;

src/ui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ fn body_ui(
470470

471471
// Distance to parent
472472
if let Some((parent_pos, _, p_name, _)) = parent {
473-
ui.label(RichText::new(format!("Distance to {}", p_name)).size(16.0).underline());
473+
ui.label(RichText::new(format!("Distance to {} (Center)", p_name)).size(16.0).underline());
474474
let distance_in_m = parent_pos.0.distance(pos.0);
475475
ui.label(format!("{}", format_length(distance_in_m as f32)));
476476
ui.label(format!("{:.3} au", distance_in_m * (M_TO_AU as f64)));

0 commit comments

Comments
 (0)