Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
Include |
#include "Math/UnrealMathUtility.h" |
Source |
/Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
static void WindRelativeAnglesDegrees
(
float InAngle0,
float & InOutAngle1
)
Given two angles in degrees, 'wind' the rotation in Angle1 so that it avoids >180 degree flips. Good for winding rotations previously expressed as quaternions into a euler-angle representation.
Parameter |
Description |
---|---|
Angle0 |
The first angle that we wind relative to. |
Angle1 |
The second angle that we may wind relative to the first. |