VectorAccumulateQuaternionShortestPath

A and B are quaternions. The result is A + (|A.B| >= 0 ? 1 : -1) * B.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/UnrealMathVectorCommon.h

Include

#include "Math/UnrealMathVectorCommon.h"

Syntax

VectorRegister VectorAccumulateQuaternionShortestPath
(
    const VectorRegister & A,
    const VectorRegister & B
)

Remarks

A and B are quaternions. The result is A + (|A.B| >= 0 ? 1 : -1) * B.

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