Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FMath
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void WindRelativeAnglesDegrees
(
float InAngle0, |
Given two angles in degrees, 'wind' the rotation in Angle1 so that it avoids >180 degree flips. | Math/UnrealMathUtility.h | |
static void WindRelativeAnglesDegrees
(
double InAngle0, |
Math/UnrealMathUtility.h |
WindRelativeAnglesDegrees(float, float &)
Description
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.
| Name | WindRelativeAnglesDegrees |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
| Source | /Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
static void WindRelativeAnglesDegrees
(
float InAngle0,
float & InOutAngle1
)
Parameters
| Name | Remarks |
|---|---|
| InAngle0 | The first angle that we wind relative to. |
| InOutAngle1 | The second angle that we may wind relative to the first. |
WindRelativeAnglesDegrees(double, double &)
| Name | WindRelativeAnglesDegrees |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
| Source | /Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
static void WindRelativeAnglesDegrees
(
double InAngle0,
double & InOutAngle1
)