MCPcopy Create free account
hub / github.com/ByteArena/box2d / DestroyProxies

Method DestroyProxies

DynamicsB2Fixture.go:294–303  ·  view source on GitHub ↗
(broadPhase *B2BroadPhase)

Source from the content-addressed store, hash-verified

292}
293
294func (fix *B2Fixture) DestroyProxies(broadPhase *B2BroadPhase) {
295 // Destroy proxies in the broad-phase.
296 for i := 0; i < fix.M_proxyCount; i++ {
297 proxy := &fix.M_proxies[i]
298 broadPhase.DestroyProxy(proxy.ProxyId)
299 proxy.ProxyId = E_nullProxy
300 }
301
302 fix.M_proxyCount = 0
303}
304
305func (fix *B2Fixture) Synchronize(broadPhase *B2BroadPhase, transform1 B2Transform, transform2 B2Transform) {
306

Callers 3

DestroyBodyMethod · 0.80
DestroyFixtureMethod · 0.80
SetActiveMethod · 0.80

Calls 1

DestroyProxyMethod · 0.45

Tested by

no test coverage detected