MCPcopy Create free account
hub / github.com/cinder/Cinder / SynchronizeFixtures

Method SynchronizeFixtures

blocks/Box2D/src/Box2D/Dynamics/b2Body.cpp:428–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428void b2Body::SynchronizeFixtures()
429{
430 b2Transform xf1;
431 xf1.q.Set(m_sweep.a0);
432 xf1.p = m_sweep.c0 - b2Mul(xf1.q, m_sweep.localCenter);
433
434 b2BroadPhase* broadPhase = &m_world->m_contactManager.m_broadPhase;
435 for (b2Fixture* f = m_fixtureList; f; f = f->m_next)
436 {
437 f->Synchronize(broadPhase, xf1, m_xf);
438 }
439}
440
441void b2Body::SetActive(bool flag)
442{

Callers 2

SolveMethod · 0.80
SolveTOIMethod · 0.80

Calls 3

b2MulFunction · 0.85
SynchronizeMethod · 0.80
SetMethod · 0.45

Tested by

no test coverage detected