• Parameters

    • bounds: WorldBounds
    • p: {
          x: number;
          y: number;
      }
      • x: number
      • y: number

    Returns boolean

    Whether p lies inside or on the border of bounds.

    Callers: optional UI checks. Callees: none.