@blinkk/degu
    Preparing search index...

    Function distance

    • Calculates the distance of two sets of x, y coordinates.

      Parameters

      • x1: number

        The x value of point 1.

      • y1: number

        The y value of point 1.

      • x2: number

        The x value of point 2.

      • y2: number

        The y value of point 2.

      Returns number

      The distance between point 1 and point 2.