Function getDistance

  • Retrieves distance between two 2d points

    Date

    3/14/2023 - 12:23:06 PM

    Export

    Returns

    Example

    const dist = getDistance({ x: 5, y: 5 }, { x: 10, y: 10 })
    

    Parameters

    Returns number

Generated using TypeDoc