uniform VR control

This commit is contained in:
Zeno Rogue committed 2020-12-31 19:11:14 +01:00
1 parent db46f247c5
commit 1b976d364b
5 files changed
+103 -120

No files matched your search

+9 -1
View File
@@ -178,7 +178,15 @@ EX void calcMousedest() {
}
EX void mousemovement() {
if(GDIM == 3) {
#if CAP_VR
if(WDIM == 3 && vrhr::active() && which_pointer) {
movevrdir(vrhr::vr_direction);
return;
}
#endif
if(GDIM == 3 && !which_pointer) {
if(WDIM == 2) {
if(View[2][2] < -0.75)
movepcto(MD_DROP, 1);