fixed the value shown in 'reset the reference point'

This commit is contained in:
Zeno Rogue 2020-12-31 02:53:45 +01:00
parent faec8c9df2
commit 384c5eb2da
1 changed files with 1 additions and 0 deletions

1
vr.cpp
View File

@ -1027,6 +1027,7 @@ EX void show_vr_settings() {
dialog::add_action_push(models::model_menu);
if(among(hsm, eHeadset::reference, eHeadset::model_viewing)) {
E4;
hyperpoint h = hmd_at * inverse(hmd_ref_at) * C0;
dialog::addSelItem(XLAT("reset the reference point"), state ? fts(hypot_d(3, h)) + "m" : "", 'r');