Skip to content

Pan example - #1547

Merged
elalish merged 8 commits into
masterfrom
panExample
Sep 21, 2020
Merged

elalish merged 8 commits into
masterfrom
panExample

Conversation

@elalish

@elalish elalish commented Sep 19, 2020

Copy link
Copy Markdown
Contributor

Fixes #447

I've added an example of pan to the staging-and-camera-control examples. This is a decent generic pan example, but there are a lot of possible variations that are use-case specific, so hopefully this gives everyone enough to go on to build their own. I don't see this entering our API, as it can be confusing in many cases and it doesn't work for all scenarios that require pan - for instance a city model might constrain pan to the horizontal plane instead of screen space.

@elalish elalish self-assigned this Sep 19, 2020
@elalish
elalish merged commit f0d9b72 into master Sep 21, 2020
@elalish
elalish deleted the panExample branch September 21, 2020 15:32
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.

Support for panning the camera via keyboard, mouse and touch input

1 participant