fix native-toolchain v19 build issues
This commit is contained in:
@@ -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!"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user