• + 2 comments

    The condition is working but I don't understand the principle behind the (x1 - x2) % (v2 - v1) == 0 equation. Can anyone help me?