phaser - v4.0.0-rc.4
    Preparing search index...
    • Find the angle of a segment from (x1, y1) -> (x2, y2).

      Parameters

      • x1: number

        The x coordinate of the first point.

      • y1: number

        The y coordinate of the first point.

      • x2: number

        The x coordinate of the second point.

      • y2: number

        The y coordinate of the second point.

      Returns number