Skip to content

Commit 547040c

Browse files
committed
fix: Expose proxy destruction as a public API for consumers. No behavior change; access modifier only.
1 parent 624e5f0 commit 547040c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Box2D.NET/B2DynamicTrees.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ public static int b2DynamicTree_CreateProxy(B2DynamicTree tree, in B2AABB aabb,
764764
}
765765

766766
/// Destroy a proxy. This asserts if the id is invalid.
767-
internal static void b2DynamicTree_DestroyProxy(B2DynamicTree tree, int proxyId)
767+
public static void b2DynamicTree_DestroyProxy(B2DynamicTree tree, int proxyId)
768768
{
769769
B2_ASSERT(0 <= proxyId && proxyId < tree.nodeCapacity);
770770
B2_ASSERT(b2IsLeaf(tree.nodes[proxyId]));

0 commit comments

Comments
 (0)