CENTERED
centered = CENTERED(tp->t);
centered |= CENTERED(t2);
tp->tap.valid = (CENTERED(t) && dist <= (tp->tap.maxdist << 12));