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 UV coords in generate_custom_mesh example #12826

Merged

Conversation

jake8655
Copy link
Contributor

@jake8655 jake8655 commented Apr 1, 2024

Objective

Fix the last coordinate of the top side in the generate_custom_mesh example.
Fixes #12822

Images

Added a yellow square to the texture to demonstrate as suggested in the issue.

Texture:
Before:
After:

Solution

Change the coordinate from 0.25 to 0.2.

Copy link
Contributor

github-actions bot commented Apr 1, 2024

Welcome, new contributor!

Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨

@NthTensor NthTensor added C-Examples An addition or correction to our examples C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen labels Apr 1, 2024
@mockersf mockersf added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Apr 1, 2024
@mockersf mockersf added this pull request to the merge queue Apr 1, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 1, 2024
@mockersf mockersf added this pull request to the merge queue Apr 1, 2024
Merged via the queue into bevyengine:main with commit 7618884 Apr 1, 2024
32 checks passed
chompaa pushed a commit to chompaa/bevy that referenced this pull request Apr 5, 2024
# Objective
Fix the last coordinate of the top side in the `generate_custom_mesh`
example.
Fixes bevyengine#12822

## Images
Added a yellow square to the texture to demonstrate as suggested in [the
issue](bevyengine#12822).

<details>
  <summary>Texture:</summary>
<img
src="https://github.com/bevyengine/bevy/assets/70668395/c605e916-bb02-4247-bf24-2f033c650419"
/>
</details>

<details>
  <summary>Before:</summary>
<img
src="https://github.com/bevyengine/bevy/assets/70668395/e67b592b-8001-42e3-a6ce-7d62ad59bf81"
/>
</details>

<details>
  <summary>After:</summary>
<img
src="https://github.com/bevyengine/bevy/assets/70668395/e9194784-ee4a-4848-87c2-0eb54e05236c"
/>
</details>

## Solution
Change the coordinate from 0.25 to 0.2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UV coords in generate_custom_mesh example are wrong
4 participants