mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-21 08:57:39 +00:00
fixed the value shown in 'reset the reference point'
This commit is contained in:
1
vr.cpp
1
vr.cpp
@@ -1027,6 +1027,7 @@ EX void show_vr_settings() {
|
|||||||
dialog::add_action_push(models::model_menu);
|
dialog::add_action_push(models::model_menu);
|
||||||
|
|
||||||
if(among(hsm, eHeadset::reference, eHeadset::model_viewing)) {
|
if(among(hsm, eHeadset::reference, eHeadset::model_viewing)) {
|
||||||
|
E4;
|
||||||
hyperpoint h = hmd_at * inverse(hmd_ref_at) * C0;
|
hyperpoint h = hmd_at * inverse(hmd_ref_at) * C0;
|
||||||
|
|
||||||
dialog::addSelItem(XLAT("reset the reference point"), state ? fts(hypot_d(3, h)) + "m" : "", 'r');
|
dialog::addSelItem(XLAT("reset the reference point"), state ? fts(hypot_d(3, h)) + "m" : "", 'r');
|
||||||
|
Reference in New Issue
Block a user