1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-14 05:57:37 +00:00

vr:: controller ray now extend to the correct distance

This commit is contained in:
Zeno Rogue
2020-12-30 18:49:12 +01:00
parent 1b976d364b
commit cafc265cc6
4 changed files with 17 additions and 11 deletions

View File

@@ -1584,6 +1584,8 @@ EX namespace mapeditor {
}
EX shiftpoint find_mouseh3() {
if(vrhr::active() && WDIM == 2)
return mouseh;
if(front_config == eFront::sphere_camera)
return in_front_dist(front_edit);
ld step = 0.01;