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(trackball): rotate was wrong on mouse drag #424

Merged
merged 6 commits into from
Feb 10, 2023

Conversation

NeilMacPhee
Copy link
Contributor

Summary

Fixed issue with TrackballRotateTool on 3D viewports where the image was being rotated about the incorrect axis when dragging the cursor along the x-axis of the canvas.

Screenshots

Old TrackballRotateTool
OLDtrackball

Fixed TrackballRotateTool
NEWtrackball

@netlify
Copy link

netlify bot commented Feb 7, 2023

Deploy Preview for cornerstone-3d-docs ready!

Name Link
🔨 Latest commit dabeee2
🔍 Latest deploy log https://app.netlify.com/sites/cornerstone-3d-docs/deploys/63e509c2c1a477000754cd7b
😎 Deploy Preview https://deploy-preview-424--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 settings.

@NeilMacPhee NeilMacPhee force-pushed the fix/TrackballRotateTool branch from a34ff32 to 8ae71eb Compare February 8, 2023 20:18
@NeilMacPhee NeilMacPhee force-pushed the fix/TrackballRotateTool branch from 8ae71eb to dabeee2 Compare February 9, 2023 14:57
Copy link
Member

@sedghi sedghi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work as always

@sedghi sedghi changed the title Fix: trackball rotate tool fix(trackball): rotate was wrong on mouse drag Feb 10, 2023
@sedghi sedghi merged commit 99c1a0a into cornerstonejs:main Feb 10, 2023
@NeilMacPhee NeilMacPhee deleted the fix/TrackballRotateTool branch February 23, 2023 15:26
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