public static Complexf fromRotationTo(Vector2f from, Vector2f to) {
        return fromAngleRad(TrigMath.acos(from.dot(to) / (from.length() * to.length())));
    }
public static Complexf fromRotationTo(Vector2f from, Vector2f to) {
        return fromAngleRad(TrigMath.acos(from.dot(to) / (from.length() * to.length())));
    }
public static Complexf fromRotationTo ( Vector2f from , Vector2f to ) { return fromAngleRad ( TrigMath . acos ( from . dot ( to ) / ( from . length ( ) * to . length ( ) ) ) ) ; }
Creates a new complex from the angle defined from the first to the second vector.

@param from The first vector
@param to The second vector
@return The complex defined by the angle between the vectors
Creates a new complex from the angle defined from the first to the second vector .