From b3072ff9363bcdc3b17d01043714726e82b8b4c3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 15 Jun 2016 17:52:59 +0200 Subject: tracker/test: disable discontinuity on +-180 --- tracker-test/test.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tracker-test/test.cpp') diff --git a/tracker-test/test.cpp b/tracker-test/test.cpp index 842b24b0..32ff5336 100644 --- a/tracker-test/test.cpp +++ b/tracker-test/test.cpp @@ -50,10 +50,12 @@ void FTNoIR_Tracker::data(double *data) if (i >= 3) { +#if 0 if (x > pi + pi/2) x -= pi; else if (x > pi/2 && x < pi) x += pi; +#endif data[i] = sin(x) * 180; } -- cgit v1.2.3