Skip to content

Conversation

@pauldahacker
Copy link
Contributor

Replaces the full cubicmap collision scan with a check limited to the player’s surrounding cells, as suggested by the existing TODO comment.

This improves performance while preserving the example’s behavior.

Limit collision detection to the player surrounding cells instead of
iterating the full cubicmap each frame.
@raysan5 raysan5 merged commit 5e1f5d5 into raysan5:master Jan 7, 2026
@raysan5
Copy link
Owner

raysan5 commented Jan 7, 2026

@pauldahacker thanks for the improvement!

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