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

[raymath.h] Small code refactor #3753

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

idircarlos
Copy link
Contributor

The pull request is divided into 2 small commits, so you may don't want to merge both.

  1. I identified two functions that have duplicated code, so I refactored to avoid it. You might don't want to merge this change because you might prefer the readability, but I just wanted to give it a try in case you agree with it :)
  2. A ternary operator didn't have proper left space as the rest. Some divisions have both spaces also.

@raysan5 raysan5 merged commit c133fee into raysan5:master Jan 22, 2024
14 checks passed
@raysan5
Copy link
Owner

raysan5 commented Jan 22, 2024

@idircarlos Nice! 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