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

    Function isWithinBounds

    • Checks whether a point is within bounds. Start is inclusive, end is exclusive.

      Type Parameters

      Parameters

      • p: T

        The point to test

      • start: T

        The upper left of the bounds rect

      • end: T

        The lower right of the bounds rect

      Returns boolean