@writegames.com/game-math
    Preparing search index...

    Function isPointOnLine

    • Checks whether a point lies on a line.

      Type Parameters

      Parameters

      • p: T

        The point to test

      • a: T

        The start of the line

      • b: T

        The end of the line

      Returns boolean