tsParticles - v4.0.0-beta.12
    Preparing search index...
    • Checks if the distance between two coordinates is less than the given distance

      Parameters

      • pointA: ICoordinates

        the first coordinate

      • pointB: ICoordinates

        the second coordinate

      • distance: number

        the distance to check

      Returns boolean

      true if the distance between the two coordinates is less than the given distance, false otherwise