diff options
author | scorched <scorched@bk.ru> | 2017-10-19 19:41:36 +0300 |
---|---|---|
committer | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-10-20 12:55:22 +0200 |
commit | 3ba5ee42c3b019234fa154c66683d27e626a164e (patch) | |
tree | da03ba5837d5ba9de71b2092539dad7606f1d51b /modules/mobile_vr | |
parent | eeacae563c5796746879da3155b2d27508736f19 (diff) |
Fix compilation on Visual Studio 2013 (#10219).
Diffstat (limited to 'modules/mobile_vr')
-rw-r--r-- | modules/mobile_vr/mobile_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mobile_vr/mobile_interface.h b/modules/mobile_vr/mobile_interface.h index 6a5e01c163..747377ae46 100644 --- a/modules/mobile_vr/mobile_interface.h +++ b/modules/mobile_vr/mobile_interface.h @@ -90,7 +90,7 @@ private: ///@TODO a few support functions for trackers, most are math related and should likely be moved elsewhere float floor_decimals(float p_value, float p_decimals) { - float power_of_10 = pow(10.0, p_decimals); + float power_of_10 = pow(10.0f, p_decimals); return floor(p_value * power_of_10) / power_of_10; }; |