Function normalize

  • Normalize a vector (make it a unit vector)

    Parameters

    Returns Vector2

    The newly created normalized vector