From d075be93b455852e0e3e4b5a0b0790793ed20e12 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 13 Oct 2017 01:45:17 +0200 Subject: whitespace --- logic/tracker.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'logic') 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; -- cgit v1.2.3