这是indexloc提供的服务,不要输入任何密码
Skip to content

Fix TransformPoints' Rotation and Stretch attributes #450

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

Merged
merged 2 commits into from
Jul 14, 2024

Conversation

newemka
Copy link
Contributor

@newemka newemka commented Jul 5, 2024

Transformation matrix is tricky.
We extract the scale from each row of the TransformMatrix by calculating the length of each row vector.
Then we remove the scale from the matrix to get only rotation.

@pixtur pixtur merged commit 547732a into tixl3d:dev Jul 14, 2024
@pixtur
Copy link
Collaborator

pixtur commented Jul 14, 2024

Nice!

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