Navigation
API > API/Runtime > API/Runtime/ChaosCore > API/Runtime/ChaosCore/TRotation_FRealSingle_3
Description
Check that two rotations are approximately equal. Assumes the quaternions are normalized and in the same hemisphere. For small values of Epsilon, this is approximately equivalent to checking that the rotations are within 2*Epsilon radians of each other.
| Name | IsNearlyEqual |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/Rotation.h |
| Include Path | #include "Chaos/Rotation.h" |
static bool IsNearlyEqual
(
const TRotation < FRealSingle, 3 > & A,
const TRotation < FRealSingle, 3 > & B,
const FRealSingle Epsilon
)