Skip to content

[models] Simplify CheckCollisionSpheres using Vector3DistanceSqr#5695

Merged
raysan5 merged 1 commit into
raysan5:masterfrom
Bigfoot71:master
Mar 27, 2026
Merged

[models] Simplify CheckCollisionSpheres using Vector3DistanceSqr#5695
raysan5 merged 1 commit into
raysan5:masterfrom
Bigfoot71:master

Conversation

@Bigfoot71
Copy link
Copy Markdown
Contributor

Replace manual dot product with Vector3DistanceSqr, eliminates redundant calculations and improves readability.

@Bigfoot71
Copy link
Copy Markdown
Contributor Author

I know 6.0 is coming, so here's a little proof just in case, no stress! :)

Enregistrement.d.ecran_20260326_132344.webm

@raysan5 raysan5 merged commit ba83bd3 into raysan5:master Mar 27, 2026
16 checks passed
@raysan5
Copy link
Copy Markdown
Owner

raysan5 commented Mar 27, 2026

@Bigfoot71 Nice improvement! Thanks!

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