TRotation< FReal, 3 >::IsNearlyEqual

Check that two rotations are approximately equal.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Rotation.h

Include

#include "Chaos/Rotation.h"

Syntax

static bool IsNearlyEqual
(
    const TRotation< FReal, 3 > & A,
    const TRotation< FReal, 3 > & B,
    const FReal Epsilon
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss