Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FMath > API/Runtime/Core/Math/FMath/WindRelativeAnglesDegrees
References
| Module | Core |
| 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
&40;
float InAngle0,
float & InOutAngle1
&41;
Remarks
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.
Parameters
| Name | Description |
|---|---|
| InAngle0 | The first angle that we wind relative to. |
| InOutAngle1 | The second angle that we may wind relative to the first. |