(proxyId int)
| 280 | } |
| 281 | |
| 282 | func (tree *B2DynamicTree) DestroyProxy(proxyId int) { |
| 283 | B2Assert(0 <= proxyId && proxyId < tree.M_nodeCapacity) |
| 284 | B2Assert(tree.M_nodes[proxyId].IsLeaf()) |
| 285 | |
| 286 | tree.RemoveLeaf(proxyId) |
| 287 | tree.FreeNode(proxyId) |
| 288 | } |
| 289 | |
| 290 | func (tree *B2DynamicTree) MoveProxy(proxyId int, aabb B2AABB, displacement B2Vec2) bool { |
| 291 |
nothing calls this directly
no test coverage detected