Skip to content

Moved dynamic tree struct to be internal - #1123

Merged
erincatto merged 7 commits into
mainfrom
zig_update
Oct 19, 2026
Merged

erincatto merged 7 commits into
mainfrom
zig_update

Conversation

@erincatto

Copy link
Copy Markdown
Owner
  • generated API JSON for 3.2

@erincatto
erincatto merged commit 178495b into main Oct 19, 2026
28 checks passed
@erincatto
erincatto deleted the zig_update branch October 19, 2026 02:27
ice1000 added a commit to ice1000/Box2D.NET that referenced this pull request Nov 12, 2026
…1123)

- Split tree setup into b2CreateDynamicTreeInternal / b2DestroyDynamicTreeInternal that work in place
- b2CreateDynamicTree now allocates a tree and calls the internal init; b2DestroyDynamicTree ignores null
- Broad-phase builds its three trees in place with the internal pair
- TreeCreateDestroy test uses the internal pair, matching upstream
- B2DynamicTree / B2TreeNode stay public since C# trees are reference types and Samples use them
- b2Compute*AABB -> b2Compute*Bounds renames left to the user

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant