mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-26 02:34:26 +00:00
vr:: controller ray now extend to the correct distance
This commit is contained in:
1 parent
1b976d364b
commit
cafc265cc6
4 files changed
+17
-11
No files matched your search
+2
-3
@@ -609,9 +609,8 @@ EX bool need_mouseh = false;
|
||||
EX void fix_mouseh() {
|
||||
if(0) ;
|
||||
#if CAP_VR
|
||||
else if(vrhr::active() && which_pointer) {
|
||||
vrhr::compute_point(which_pointer, mouseh, mouseover);
|
||||
}
|
||||
else if(vrhr::active() && which_pointer && !vrhr::in_menu())
|
||||
vrhr::compute_point(which_pointer, mouseh, mouseover, vrhr::pointer_distance);
|
||||
#endif
|
||||
else if(!need_mouseh) ;
|
||||
#if CAP_RUG
|
||||
|
||||
Reference in new issue
Block a user