public static Quaternionf fromRotationTo(Vector3f from, Vector3f to) {
    """
	Creates a new quaternion from the angle-axis rotation defined from the first to the second vector.
	
	@param from The first vector
	@param to The second vector
	@return The quaternion defined by the angle-axis rotation between the vectors
    """
        return Quaternionf.fromAngleRadAxis(TrigMath.acos(from.dot(to) / (from.length() * to.length())), from.cross(to));
    }
public static Quaternionf fromRotationTo(Vector3f from, Vector3f to) {
        return Quaternionf.fromAngleRadAxis(TrigMath.acos(from.dot(to) / (from.length() * to.length())), from.cross(to));
    }
public static Quaternionf fromRotationTo ( Vector3f from , Vector3f to ) { return Quaternionf . fromAngleRadAxis ( TrigMath . acos ( from . dot ( to ) / ( from . length ( ) * to . length ( ) ) ) , from . cross ( to ) ) ; }
Creates a new quaternion from the angle-axis rotation defined from the first to the second vector.

@param from The first vector
@param to The second vector
@return The quaternion defined by the angle-axis rotation between the vectors
Creates a new quaternion from the angle - axis rotation defined from the first to the second vector .