Skip to content

Conversation

@ikpil
Copy link
Owner

@ikpil ikpil commented Dec 26, 2025

  • Updated BroadPhase and World APIs (e.g., b2BroadPhase_CreateProxy, b2World_OverlapAABB) to accept B2AABB and B2QueryFilter as in parameters.
  • Updated B2WorldQueryContext constructor and DrawBounds helper to use in parameters.
  • This change optimizes performance by reducing struct copying and ensures read-only access to these data structures.

- Updated BroadPhase and World APIs (e.g., `b2BroadPhase_CreateProxy`, `b2World_OverlapAABB`) to accept `B2AABB` and `B2QueryFilter` as `in` parameters.
- Updated `B2WorldQueryContext` constructor and `DrawBounds` helper to use `in` parameters.
- This change optimizes performance by reducing struct copying and ensures read-only access to these data structures.
@ikpil ikpil merged commit 89a50d3 into main Dec 26, 2025
10 checks passed
@ikpil ikpil deleted the pr/refactor--B2AABB-and-B2QueryFilter-usage-to-use-'in'-parameters branch December 26, 2025 14:29
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