mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 23:30:25 +00:00
fixed the value shown in 'reset the reference point'
This commit is contained in:
parent
faec8c9df2
commit
384c5eb2da
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');
|
||||||
|
Loading…
Reference in New Issue
Block a user