Function distance

  • Gets the distance between two points

    Parameters

    • point1: Vec2

      The first point

    • point2: Vec2

      The second point

    Returns number

    The distance between the points

Generated using TypeDoc