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

Examples: SVGLoader - fix triangle segment uv coordinates #27485

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

Rabbid76
Copy link
Contributor

@Rabbid76 Rabbid76 commented Jan 2, 2024

Fixed #27464.

The V-component of the texture coordinates is swapped in comparison to the other texture coordinates for currentPointL and currentPointR in the makeSegmentTriangles function.
The V-component on the left side should always be 0 and on the right side it should always be 1.

@Mugen87
Copy link
Collaborator

Mugen87 commented Jan 2, 2024

I have tested the PR with the example from the issue and it is completely fixed!

@Mugen87 Mugen87 added this to the r161 milestone Jan 2, 2024
@Mugen87 Mugen87 merged commit 564e673 into mrdoob:dev Jan 2, 2024
11 checks passed
AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
@Rabbid76 Rabbid76 deleted the fix/svg-loader branch February 4, 2024 22:00
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.

SVGLoader pointsToStroke incorrect UV mapping when texture applied
2 participants