tIx = dy * (indX + sx / 2 - xA) if dx != 0 else float("+inf")