UKismetMathLibrary::Quat_EnforceShortestArcWith

Modify the quaternion to ensure that the delta between it and B represents the shortest possible rotation angle.