diff options
| author | Bastiaan Olij | 2017-11-11 09:42:23 +1100 |
|---|---|---|
| committer | Bastiaan Olij | 2017-11-11 09:42:23 +1100 |
| commit | 6205eb40e78c5b54fbb67cce383a1983670bb0b0 (patch) | |
| tree | e2728924c1715e9ab0a818a94ea377bdc5597e08 /modules/mobile_vr/mobile_interface.cpp | |
| parent | 19b1ff0fc5f7acce23176ad6c8752604357472f0 (diff) | |
| download | godot-6205eb40e78c5b54fbb67cce383a1983670bb0b0.tar.gz godot-6205eb40e78c5b54fbb67cce383a1983670bb0b0.tar.zst godot-6205eb40e78c5b54fbb67cce383a1983670bb0b0.zip | |
Diffstat (limited to 'modules/mobile_vr/mobile_interface.cpp')
| -rw-r--r-- | modules/mobile_vr/mobile_interface.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/modules/mobile_vr/mobile_interface.cpp b/modules/mobile_vr/mobile_interface.cpp index 93d5c22ef..dccdcd307 100644 --- a/modules/mobile_vr/mobile_interface.cpp +++ b/modules/mobile_vr/mobile_interface.cpp @@ -156,17 +156,6 @@ void MobileVRInterface::set_position_from_sensors() { has_gyro = true; }; -#ifdef ANDROID_ENABLED - ///@TODO needs testing, i don't have a gyro, potentially can be removed depending on what comes out of issue #8101 - // On Android x and z axis seem inverted - gyro.x = -gyro.x; - gyro.z = -gyro.z; - grav.x = -grav.x; - grav.z = -grav.z; - magneto.x = -magneto.x; - magneto.z = -magneto.z; -#endif - if (has_gyro) { // start with applying our gyro (do NOT smooth our gyro!) Basis rotate; |
