diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-09 10:51:39 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-09 11:08:39 +0200 |
commit | e97094569e06906b88f8578b99e1c59332bb3215 (patch) | |
tree | 9130acb7cb067bd33478222dc6ab2abc5894efe6 /proto-ft/ftnoir_protocol_ft.h | |
parent | 6c8df6354c8248c0d6b7f4049b8cb3e45152a769 (diff) |
proto/freetrack: get rid of float <-> double promotions
Diffstat (limited to 'proto-ft/ftnoir_protocol_ft.h')
-rw-r--r-- | proto-ft/ftnoir_protocol_ft.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.h b/proto-ft/ftnoir_protocol_ft.h index 467fc9cc..d2d40449 100644 --- a/proto-ft/ftnoir_protocol_ft.h +++ b/proto-ft/ftnoir_protocol_ft.h @@ -66,7 +66,7 @@ private: QMutex game_name_mutex; static check_for_first_run runonce_check; - static inline double getRadsFromDegrees(double degrees) { return degrees * 0.017453; } + static inline float rads_to_degrees(double degrees) { return float(degrees * 0.017453); } void start_tirviews(); void start_dummy(); |