fix native-toolchain v19 build issues

This commit is contained in:
Mamadou Babaei
2023-03-28 10:39:53 +02:00
parent d5e2246ef8
commit 0305ef5e51
2 changed files with 5 additions and 19 deletions
@@ -47,7 +47,7 @@ public:
return FMath::DegreesToRadians(Degrees);
}
static FORCEINLINE constexpr float TransformToSenseGlove(const int32 Movement, const float Direction)
static FORCEINLINE float TransformToSenseGlove(const int32 Movement, const float Direction)
{
// 0 = twist, 1 = flexion/extension, 2 = abduction
return FMath::DegreesToRadians(Movement != 1 ? Direction * -1.0f : Direction);
@@ -94,7 +94,7 @@ public:
: Direction;
}
static FORCEINLINE constexpr float TransformToUnreal(const ESGThumbMovement Movement, const float Direction)
static FORCEINLINE float TransformToUnreal(const ESGThumbMovement Movement, const float Direction)
{
ensureAlwaysMsgf(Movement != ESGThumbMovement::None, TEXT("none is not a valid value!"));