Skip to content

Conversation

@ikpil
Copy link
Owner

@ikpil ikpil commented Dec 27, 2025

  • Updated b2ShouldShapesCollide, b2ShouldQueryCollide, and b2Shape_SetFilter to pass B2Filter by reference using the in keyword.
  • This change avoids unnecessary struct copying and improves performance.

- Updated `b2ShouldShapesCollide`, `b2ShouldQueryCollide`, and `b2Shape_SetFilter` to pass `B2Filter` by reference using the `in` keyword.
- This change avoids unnecessary struct copying and improves performance.
@ikpil ikpil merged commit 403ecb4 into main Dec 27, 2025
10 checks passed
@ikpil ikpil deleted the pr/refactor--B2Filter-parameters-to-use-'in'-modifier-in-B2Shapes.cs branch December 27, 2025 03:42
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