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 handling of projective transforms #199

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 1, 2020

  1. Fix handling of projective transforms

    When transforming points with projective matrices,
    we must divide the resulting vector by w, in order
    to get the normalized result.
    
    This commit fixes graphene_matrix_transform_point,
    graphene_matrix_transform_point3d and
    graphene_matrix_transform_bounds. I suspect that
    some of the remaining transform functions need
    similar fixes, but they are not used in GTK, so
    I couldn't verify that.
    Matthias Clasen committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    a5c68a5 View commit details
    Browse the repository at this point in the history
  2. fixup! Fix handling of projective transforms

    Fix a copy-paste error
    
    Pointed out by Timm Bäder.
    Matthias Clasen committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    f80eb04 View commit details
    Browse the repository at this point in the history