mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-25 10:57:59 +00:00
vr:: controller ray now extend to the correct distance
This commit is contained in:
@@ -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