Skip to content

Commit

Permalink
Fixed typo in generate_custom_mesh.rs example (#11293)
Browse files Browse the repository at this point in the history
# Objective

- Fix a typo in the "Generate Custom Mesh" example

## Solution

- Fixed small typo
  • Loading branch information
Gadzev authored Jan 11, 2024
1 parent c4e479a commit ce5bae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/3d/generate_custom_mesh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ fn create_cube_mesh() -> Mesh {
[0.5, -0.5, -0.5],
],
)
// Set-up UV coordinated to point to the upper (V < 0.5), "dirt+grass" part of the texture.
// Set-up UV coordinates to point to the upper (V < 0.5), "dirt+grass" part of the texture.
// Take a look at the custom image (assets/textures/array_texture.png)
// so the UV coords will make more sense
// Note: (0.0, 0.0) = Top-Left in UV mapping, (1.0, 1.0) = Bottom-Right in UV mapping
Expand Down

0 comments on commit ce5bae5

Please sign in to comment.