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

[examples] use logarithmic zoom scaling in 2d camera examples #4845

Merged
merged 2 commits into from
Mar 20, 2025

Conversation

bamless
Copy link
Contributor

@bamless bamless commented Mar 19, 2025

This makes zoom level consistent across different scales, making the examples more visually appealing and showcasing how to achieve it.

@bamless bamless changed the title Use logarithmic zoom scaling in 2d camera examples [examples] use logarithmic zoom scaling in 2d camera examples Mar 19, 2025
This compensate for slower zoom speed due to log scaling
@raysan5 raysan5 merged commit add4da8 into raysan5:master Mar 20, 2025
@raysan5
Copy link
Owner

raysan5 commented Mar 20, 2025

@bamless thanks for the improvement!

@bamless bamless deleted the log-zoom branch March 20, 2025 18:08
@bamless bamless restored the log-zoom branch March 24, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants