Invert the correct axis

pull/320/head
DJLevel3 2025-09-03 06:25:50 -04:00
rodzic a023304000
commit fcd6ef2525
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -103,7 +103,7 @@ void VisualiserRenderer::runTask(const std::vector<osci::Point> &points) {
#if OSCI_PREMIUM
if (parameters.isGoniometer()) {
// x and y go to a diagonal currently, so we need to scale them down, and rotate them
point.scale(1.0 / std::sqrt(2.0), -1.0 / std::sqrt(2.0), 1.0);
point.scale(-1.0 / std::sqrt(2.0), 1.0 / std::sqrt(2.0), 1.0);
point.rotate(0, 0, -juce::MathConstants<double>::pi / 4);
}
#endif