Skip to content

Fix rotation around Y axis#262

Merged
johnmccutchan merged 1 commit into
google:masterfrom
moritzblume:fix_rotation_y
Jul 19, 2023
Merged

Fix rotation around Y axis#262
johnmccutchan merged 1 commit into
google:masterfrom
moritzblume:fix_rotation_y

Conversation

@moritzblume

Copy link
Copy Markdown
Contributor

Current implementation rotates clockwise which is not the norm and not consistent to the implemented X and Y rotation matrices.

This PR fixes issue #261 .

Current implementation rotates clockwise which is not
the norm and not consistent to the other implemented rotations.
@google-cla

google-cla Bot commented Apr 19, 2022

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

For more information, open the CLA check for this pull request.

@moritzblume

Copy link
Copy Markdown
Contributor Author

Any updates? When will it be merged?

@johnmccutchan

Copy link
Copy Markdown
Collaborator

Hi,

If you are still around I'd be interesting in merging this change.

@johnmccutchan

Copy link
Copy Markdown
Collaborator

Ping @moritzblume

@moritzblume

moritzblume commented Jun 20, 2023 via email

Copy link
Copy Markdown
Contributor Author

@johnmccutchan johnmccutchan merged commit 048777a into google:master Jul 19, 2023
@kevmoo

kevmoo commented Jul 20, 2023

Copy link
Copy Markdown
Collaborator

johnmccutchan added a commit that referenced this pull request Jul 26, 2023
johnmccutchan added a commit that referenced this pull request Jul 26, 2023
@johnmccutchan

Copy link
Copy Markdown
Collaborator

@moritzblume We discovered two issues with the CL and so we had to revert, please address the following:

  1. Broke some tests (run dart test to reproduce)
  2. Made rotateY inconsistent across Matrix3 and Matrix4 classes.

For issue (1) is pretty trivial, just swapping the signs in the test expectation.
For issue (2) both Matrix3 and Matrix4 need to be updated together so they are consistent.

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.

3 participants