public static float length(Vector2 a){
  return (float)Math.sqrt(lengthSquared(a));
}

public static float length ( Vector2 a ) { return ( float ) Math . sqrt ( lengthSquared ( a ) ) ; }
returns the length of the provided vector2 note : this makes use of the sqrt function , and is not cached . this could affect performance .
