synchronizeTransform method
void
synchronizeTransform()
Implementation
void synchronizeTransform() {
transform.q.sin = sin(sweep.a);
transform.q.cos = cos(sweep.a);
final q = transform.q;
final v = sweep.localCenter;
transform.p.x = sweep.c.x - q.cos * v.x + q.sin * v.y;
transform.p.y = sweep.c.y - q.sin * v.x - q.cos * v.y;
}