selectagon rotation -> camera's "up" vector. started flickering a bit
This commit is contained in:
parent
d44d171a1c
commit
83966bf452
|
@ -1022,7 +1022,7 @@ fn update_target_selectagon(
|
|||
}
|
||||
selectagon_trans.translation = target_trans.translation;
|
||||
selectagon_trans.scale = target_trans.scale;
|
||||
selectagon_trans.look_at(camera_trans.translation, target_trans.up().into());
|
||||
selectagon_trans.look_at(camera_trans.translation, camera_trans.up().into());
|
||||
|
||||
// Enlarge Selectagon to a minimum angular diameter
|
||||
let (angular_diameter, _, _) = camera::calc_angular_diameter(
|
||||
|
|
Loading…
Reference in a new issue