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

feat(camera): add mouse-driven panning #13

Merged
merged 3 commits into from
Jul 20, 2024

Commits on Jul 20, 2024

  1. feat(camera): add mouse-driven panning

    Enable panning of the camera based on
    the cursor position relative to the viewport.
    ShenMian committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    4e230a8 View commit details
    Browse the repository at this point in the history
  2. refactor(camera): replace map_range with remap

    Replace the custom map_range function with the remap function from the
    glam crate to simplify the code.
    ShenMian committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    2c34285 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    76a5d66 View commit details
    Browse the repository at this point in the history