From 4f6fda4903ef5dacfa33bd93a9d5d91e9175eb16 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 16 Nov 2021 12:11:42 -0500 Subject: [PATCH] Fix mirroring of X coordinate of lissajous view of Scope. --- src/Scope.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Scope.cpp b/src/Scope.cpp index 3d69390..049469a 100644 --- a/src/Scope.cpp +++ b/src/Scope.cpp @@ -298,7 +298,7 @@ struct ScopeDisplay : LedDisplay { continue; Vec p; - p.x = (avgX + offsetX) * gainX * -0.5f + 0.5f; + p.x = (avgX + offsetX) * gainX * 0.5f + 0.5f; p.y = (avgY + offsetY) * gainY * -0.5f + 0.5f; p = b.interpolate(p); if (i == 0)