From 68b8813965cdead743a70e8ee47458d8f1e21dd4 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 28 Mar 2017 23:51:27 +0200 Subject: tracker/steamvr: fix vive rotation order Submitted-by: @subnet- Issue: #353 cf. https://github.com/opentrack/opentrack/issues/352#issuecomment-289306146 The submitter's working on the roll code. sin^1 codomain is +-90 deg. so we better use the equivalent atan2(3) formula. --- tracker-steamvr/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-steamvr/CMakeLists.txt') diff --git a/tracker-steamvr/CMakeLists.txt b/tracker-steamvr/CMakeLists.txt index 36be2f13..512a49ff 100644 --- a/tracker-steamvr/CMakeLists.txt +++ b/tracker-steamvr/CMakeLists.txt @@ -27,8 +27,8 @@ endif() if(steamvr-dll) SET(SDK_VALVE_STEAMVR "" CACHE PATH "Valve's SteamVR") if(SDK_VALVE_STEAMVR) - otr_module(tracker-steamvr NO-INSTALL) - #install(FILES "${SDK_VALVE_STEAMVR}/bin/${steamvr-dir}/${steamvr-dll}" DESTINATION "${opentrack-hier-pfx}") + otr_module(tracker-steamvr) + install(FILES "${SDK_VALVE_STEAMVR}/bin/${steamvr-dir}/${steamvr-dll}" DESTINATION "${opentrack-hier-pfx}") target_include_directories(opentrack-tracker-steamvr SYSTEM PUBLIC "${SDK_VALVE_STEAMVR}/headers") target_link_libraries(opentrack-tracker-steamvr "${SDK_VALVE_STEAMVR}/lib/${steamvr-dir}/${steamvr-lib}") -- cgit v1.2.3