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

Update GetCollisionRec #3052

Merged
merged 2 commits into from
May 10, 2023
Merged

Update GetCollisionRec #3052

merged 2 commits into from
May 10, 2023

Conversation

manuel5975p
Copy link
Contributor

GetCollisionRec now clamps rectangle points to check for collision

Add a much more efficient GetCollisionRec implementation
Replace macros with ternary operators
@raysan5 raysan5 merged commit af4b97a into raysan5:master May 10, 2023
@raysan5
Copy link
Owner

raysan5 commented May 10, 2023

@manuel5975p Thank you very much for the improvement! :)

futureapricot pushed a commit to futureapricot/raylib that referenced this pull request Oct 4, 2023
* Update rshapes.c

Add a much more efficient GetCollisionRec implementation

* Update GetCollisionRec

Replace macros with ternary operators
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.

None yet

2 participants