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

centering changes #239

Merged
merged 4 commits into from
Oct 16, 2023
Merged

centering changes #239

merged 4 commits into from
Oct 16, 2023

Commits on Oct 13, 2023

  1. centering changes

    `c` now centers on the bounding sphere of current frame if no atoms selected
    
    initiallly center the camera on the bounding sphere on start up
    
    added event.js file to improve code organisation
    RokasEl committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    cfef379 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d9d618f View commit details
    Browse the repository at this point in the history
  3. Generalising get_center to get center of selected atoms

    Now center corresponds to overall center if no atoms are selected and to the center of selected atoms otherwise
    
    Also inverted the if loop in World since the if part was empty
    RokasEl committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    10bd066 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a48188e View commit details
    Browse the repository at this point in the history