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

Correction of values ​​used only once in GenMeshCubicmap #3032

Merged
merged 2 commits into from
Apr 29, 2023
Merged

Correction of values ​​used only once in GenMeshCubicmap #3032

merged 2 commits into from
Apr 29, 2023

Conversation

Bigfoot71
Copy link
Contributor

I had just noticed that the mapWidth and mapHeight values ​​were only used as a limit in the for loop while they could be used throughout the function.

The mapWidth and mapHeight values ​​were only used as a limit in the for loop when they could be used throughout the function.
@raysan5
Copy link
Owner

raysan5 commented Apr 29, 2023

@Bigfoot71 I think it would be better to just remove mapWidth and mapHeight and use cubicmap.width and cubicmap.height everywhere instead.

mapWidth and mapHeight have been removed from GenMeshCubicmap in favor of using cubicmap.width and cubicmap.height
@Bigfoot71
Copy link
Contributor Author

Done and tested

@raysan5 raysan5 merged commit 662dfad into raysan5:master Apr 29, 2023
@raysan5
Copy link
Owner

raysan5 commented Apr 29, 2023

@Bigfoot71 thanks for the review!

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.

2 participants