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

[Merged by Bors] - bevy_render: Fix Quad flip #3741

Closed
wants to merge 1 commit into from

Commits on Jan 21, 2022

  1. bevy_render: Fix Quad flip

    The documentation was unclear but it seemed like it was intended to _only_ flip
    the texture coordinates of the quad. However, it was also swapping the vertex
    positions, which resulted in inverted winding order so the front became a back
    face, and the normal was pointing into the face instead of out of it.
    
    This change makes the only difference the UVs being horizontally flipped.
    superdump committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    b92c934 View commit details
    Browse the repository at this point in the history