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

Apply skew transformation for alpha and beta angles. #77

Closed
wants to merge 1 commit into from

Conversation

@Jinwoo-Song
Copy link
Contributor

Jinwoo-Song commented Jun 3, 2015

This patch is to fix servo/servo#6237.

r? @pcwalton @glennw @nox
cc @yichoi

Review on Reviewable

This patch is to fix #6237 in servo.
Matrix4(_1.clone(), sx, _0.clone(), _0.clone(),
sy, _1.clone(), _0.clone(), _0.clone(),
Matrix4(_1.clone(), beta.tan(), _0.clone(), _0.clone(),
alpha.tan(), _1.clone(), _0.clone(), _0.clone(),

This comment has been minimized.

@nox

nox Jun 3, 2015

Member

You reversed alpha and beta, I think.

This comment has been minimized.

@Jinwoo-Song

Jinwoo-Song Jun 3, 2015

Author Contributor

The matrix values are switched symmetrically compared to spec. You can refer other transform functions such as create_translation().

@nox nox added the bug label Jun 3, 2015
@nox
Copy link
Member

nox commented Jun 8, 2015

Review status: all files reviewed, 1 unresolved discussion, all commit checks successful.
Reviewed files:

  • src/matrix.rs @ r1

src/matrix.rs, line 174 [r1] (raw file):
So the previous code was wrong, not just with different variable names?


Comments from the review on Reviewable.io

@bors-servo
Copy link
Contributor

bors-servo commented Jun 10, 2015

The latest upstream changes (presumably #82) made this pull request unmergeable. Please resolve the merge conflicts.

@nox
Copy link
Member

nox commented Jun 11, 2015

@Jinwoo-Song It needs a rebase.

@metajack
Copy link
Contributor

metajack commented Jul 29, 2015

@nox or @glennw can you rebase this and get it landed?

@metajack
Copy link
Contributor

metajack commented Jul 29, 2015

@Jinwoo-Song Or are you planning to continue work on this?

@nox
Copy link
Member

nox commented Aug 27, 2015

Rebased in #100.

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.

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