Skip to content

Conversation

@ikpil
Copy link
Owner

@ikpil ikpil commented Dec 27, 2025

  • Changed b2World_Explode signature to accept B2ExplosionDef as in parameter instead of ref.
  • Updated call sites in Samples and Tests to remove ref keyword.
  • This change optimizes performance by reducing struct copying and ensures read-only access to explosion definition data.

- Changed `b2World_Explode` signature to accept `B2ExplosionDef` as `in` parameter instead of `ref`.
- Updated call sites in Samples and Tests to remove `ref` keyword.
- This change optimizes performance by reducing struct copying and ensures read-only access to explosion definition data.
@ikpil ikpil merged commit b0a0f79 into main Dec 27, 2025
10 checks passed
@ikpil ikpil deleted the pr/refactor--b2World_Explode-to-use-'in'-parameters branch December 27, 2025 09:47
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