kopia lustrzana https://github.com/jameshball/osci-render
Merge branch 'develop' of github.com:jameshball/osci-render into develop
commit
864561cc7f
|
@ -103,7 +103,7 @@ void VisualiserRenderer::runTask(const std::vector<osci::Point> &points) {
|
||||||
#if OSCI_PREMIUM
|
#if OSCI_PREMIUM
|
||||||
if (parameters.isGoniometer()) {
|
if (parameters.isGoniometer()) {
|
||||||
// x and y go to a diagonal currently, so we need to scale them down, and rotate them
|
// 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);
|
point.rotate(0, 0, -juce::MathConstants<double>::pi / 4);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Ładowanie…
Reference in New Issue