@studiokeywi/banjo - v0.0.1
    Preparing search index...

    Function pointInPolygon

    • Whether a point exists within a polygon

      Parameters

      • point: Vector2

        Point in question

      • polygon: Polygon

        Polygon in question

      • Optionalstart: Vector2 = ...

        Vector used for temporary calculations

      • Optionalend: Vector2 = ...

        Vector used for temporary calculations

      Returns boolean

      Whether the point was inside the circle or not