synchronizeFixtures method

void synchronizeFixtures()

Implementation

void synchronizeFixtures() {
  final xf1 = _pxf;
  xf1.q.sin = sin(sweep.a0);
  xf1.q.cos = cos(sweep.a0);
  xf1.p.x = sweep.c0.x -
      xf1.q.cos * sweep.localCenter.x +
      xf1.q.sin * sweep.localCenter.y;
  xf1.p.y = sweep.c0.y -
      xf1.q.sin * sweep.localCenter.x -
      xf1.q.cos * sweep.localCenter.y;

  for (final f in fixtures) {
    f.synchronize(world.contactManager.broadPhase, xf1, transform);
  }
}