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

    Information about when circles and/or polygons overlap

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    A?: Circle | Polygon<number>

    The first shape

    aInB: boolean = true

    Whether the first shape is contained within the second

    B?: Circle | Polygon<number>

    The second shape

    bInA: boolean = true

    Whether the second shape is contained within the first

    distance: number = Infinity

    TODO: confirm what this is

    normal: Vector2 = ...

    TODO: confirm what this is

    vector: Vector2 = ...

    TODO: confirm what this is

    Methods

    • Resets Overlap state for reuse

      Returns void