diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-13 01:45:17 +0200 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-13 01:45:17 +0200 | 
| commit | d075be93b455852e0e3e4b5a0b0790793ed20e12 (patch) | |
| tree | aa656ebbffba8f4f6fa4a1aba5e0252bdc8c1417 /logic | |
| parent | 50a78e613567c44c415c2ebc294089ff1e60493f (diff) | |
whitespace
Diffstat (limited to 'logic')
| -rw-r--r-- | logic/tracker.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/logic/tracker.cpp b/logic/tracker.cpp index d979b0b2..b834715a 100644 --- a/logic/tracker.cpp +++ b/logic/tracker.cpp @@ -214,19 +214,19 @@ void Tracker::logic()      }      { -        rmat rotation; +        rmat rotation = scaled_rotation.rotation;          euler_t pos = euler_t(&value[TX]) - t_center;          switch (s.center_method)          {          // inertial          case 0: -            rotation = scaled_rotation.rot_center * scaled_rotation.rotation; +            rotation = scaled_rotation.rot_center * rotation;              break;          // camera          default:          case 1: -            rotation = scaled_rotation.rotation * scaled_rotation.rot_center; +            rotation = rotation * scaled_rotation.rot_center;              t_compensate(real_rotation.rot_center, pos, pos, false, false, false);              break; | 
