smaller point of interest marker
This commit is contained in:
parent
8e987f6d22
commit
e1d48c72a3
|
@ -798,7 +798,7 @@ fn update_poi_overlays (
|
||||||
trans.scale = Vec3::splat(1.0);
|
trans.scale = Vec3::splat(1.0);
|
||||||
let (angular_diameter, _, _) = camera::calc_angular_diameter(
|
let (angular_diameter, _, _) = camera::calc_angular_diameter(
|
||||||
&trans, camera_trans);
|
&trans, camera_trans);
|
||||||
let min_angular_diameter = 4.0f32.to_radians();
|
let min_angular_diameter = 3.0f32.to_radians();
|
||||||
if angular_diameter < min_angular_diameter {
|
if angular_diameter < min_angular_diameter {
|
||||||
trans.scale *= min_angular_diameter / angular_diameter;
|
trans.scale *= min_angular_diameter / angular_diameter;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue