phina.js.d.ts
    Preparing search index...

    Interface CollisionStatic

    interface CollisionStatic {
        testCircleCircle(
            circle0: phina.geom.Circle,
            circle1: phina.geom.Circle,
        ): boolean;
        testCircleLine(
            circle: phina.geom.Circle,
            p1: phina.geom.Vector2,
            p2: phina.geom.Vector2,
        ): boolean;
        testCircleRect(circle: phina.geom.Circle, rect: phina.geom.Rect): boolean;
        testLineLine(
            p1: phina.geom.Vector2,
            p2: phina.geom.Vector2,
            p3: phina.geom.Vector2,
            p4: phina.geom.Vector2,
        ): boolean;
        testRectLine(
            rect: phina.geom.Rect,
            p1: phina.geom.Vector2,
            p2: phina.geom.Vector2,
        ): boolean;
        testRectRect(rect0: phina.geom.Rect, rect1: phina.geom.Rect): boolean;
    }
    Index

    Methods