-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Zoom to mouse cursor #2810
Merged
Zoom to mouse cursor #2810
Changes from 16 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
a1895d9
Initial camera zoom to mouse cursor.
bagnell 7aebc5f
Merge branch 'camera-mode' into zoom-to
bagnell 0fa31b6
Rotate towards zoom point WIP.
bagnell 90abd1a
Continued zoom to mouse position WIP.
bagnell 4ead976
Fix zoom to mouse position in Columbus view.
bagnell 701ac1d
Fix zoom rotation when camera is not oriented towards north.
bagnell 2b17c90
Merge branch 'master' into zoom-to
bagnell 4f52616
Zoom to mouse in 2D WIP.
bagnell 1925d1e
Fix camera shake when zooming in 2D.
bagnell e44f585
Improved zoom speed in 2D.
bagnell 069c8b5
Improved zoom to the edges of the viewport.
bagnell cb16671
Fix for slight camera bouncing and some code clean up.
bagnell d7952d2
More clean up. Use scratch variables. Another solution to the camera …
bagnell a521d19
Fix zoom tests.
bagnell 4ddd8b5
Merge branch 'master' into zoom-to
bagnell b80b94a
Update CHANGES.md.
bagnell 35b3c19
Improved 2D zoom.
bagnell 164734c
Improve 3D zoom.
bagnell 3f750bd
Another slight inprovement to 3D zoom and clean up code after the rew…
bagnell bdf51cb
Fix broken inertia when the camera is below terrain.
bagnell c077a1f
Fix tests.
bagnell 10dca67
Change 3D zoom behavior after camera reaches a certain height and til…
bagnell 3cea7ac
Fix error where acos of values slightly greater than 1.0 return NaN.
bagnell b7f1f87
Merge branch 'master' into zoom-to
bagnell 0d70af3
Fix crash where picking the center of the screen does not hit terrain…
bagnell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this enough tests to cover all the new code?