Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translating paths by a floating point number breaks cache #55

Open
sudara opened this issue Jan 24, 2024 · 0 comments
Open

Translating paths by a floating point number breaks cache #55

sudara opened this issue Jan 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sudara
Copy link
Owner

sudara commented Jan 24, 2024

This breaks cache and shouldn't:

        float offsetX = dist (gen); // Generate random offset for x between 0 and 1
        float offsetY = dist (gen); // Generate random offset for y between 0 and 1
        path.applyTransform (juce::AffineTransform::translation (offsetX, offsetY));
        shadow.render (g, path);
@sudara sudara added the bug Something isn't working label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant