Merge branch 'develop' of github.com:jameshball/osci-render into develop

pull/325/head
James H Ball 2025-09-03 19:23:31 +01:00
commit 864561cc7f
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