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

fix: Add degree to rad conversion for rotate mouse wheel #837

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

salimkanoun
Copy link
Contributor

Context

RotateMouseWheel as a configuration unit in degree (which is fine)
The probleme is that the value in degree was passed to glmatrix which is using radian rotation unit

Changes & Results

Convert degree to radian before application

Testing

N/A

Checklist

PR

Code

Public Documentation Updates

No modification needed

Tested Environment

@netlify
Copy link

netlify bot commented Oct 18, 2023

Deploy Preview for cornerstone-3d-docs ready!

Name Link
🔨 Latest commit 0df7a96
🔍 Latest deploy log https://app.netlify.com/sites/cornerstone-3d-docs/deploys/65304033741e1f00089bff11
😎 Deploy Preview https://deploy-preview-837--cornerstone-3d-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@salimkanoun salimkanoun changed the title add degree to rad conversion for rotate mouse wheel fix: Add degree to rad conversion for rotate mouse wheel Oct 19, 2023
@sedghi
Copy link
Member

sedghi commented Oct 20, 2023

good catch, though it is a breaking change, I will merge into beta for now

@sedghi sedghi changed the base branch from main to beta October 20, 2023 13:34
@sedghi sedghi changed the base branch from beta to main December 13, 2023 21:14
@sedghi sedghi merged commit 2e09018 into cornerstonejs:main Dec 13, 2023
9 checks passed
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