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

Simplify rigid transform premultiplication math #337

Merged
merged 1 commit into from Apr 25, 2019

Conversation

@Manishearth
Copy link
Member

Manishearth commented Apr 24, 2019

Doesn't need to be so complicated, I'd done the math in a slightly inefficient way


This change is Reviewable

// R1 * R2 = R'
// (R'^-1 * T' * R') = T'' = T' rotated by R'
// T'' * T2 = T''' = vector addition of translations T2 and T''
// T' * T2 = T' = vector addition of translations T2 and T'

This comment has been minimized.

@asajeffrey

asajeffrey Apr 24, 2019

Member

T' should be T''?

This comment has been minimized.

@Manishearth

Manishearth Apr 24, 2019

Author Member

d'oh fixed

@Manishearth Manishearth force-pushed the Manishearth:rigid-premul branch from 49110f7 to 7fd2a6f Apr 24, 2019
@nical
Copy link
Collaborator

nical commented Apr 25, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Apr 25, 2019

📌 Commit 7fd2a6f has been approved by nical

bors-servo added a commit that referenced this pull request Apr 25, 2019
Simplify rigid transform premultiplication math

Doesn't need to be so complicated, I'd done the math in a slightly inefficient way

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/euclid/337)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Apr 25, 2019

Testing commit 7fd2a6f with merge 1bfa3e0...

@bors-servo
Copy link
Contributor

bors-servo commented Apr 25, 2019

☀️ Test successful - checks-travis
Approved by: nical
Pushing 1bfa3e0 to master...

@bors-servo bors-servo merged commit 7fd2a6f into servo:master Apr 25, 2019
2 checks passed
2 checks passed
Travis CI - Pull Request Build Passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.