replace c++ standard int type definitions with the ones from unreal
This commit is contained in:
@@ -1977,7 +1977,7 @@ bool FSGXRTracker::FImpl::UpdateSGJointData(
|
||||
const FTransform& WorldToTrackingTransform{TrackingToWorldTransform.Inverse()};
|
||||
const float WorldToMetersScale = XRTrackingSystem->GetWorldToMetersScale();
|
||||
|
||||
const int32_t JointIndex = static_cast<int32>(Joint);
|
||||
const int32 JointIndex = static_cast<int32>(Joint);
|
||||
|
||||
const FQuat WristRotation{WristTransform.GetRotation()};
|
||||
const FVector WristLocation{WristTransform.GetLocation()};
|
||||
@@ -2007,7 +2007,7 @@ bool FSGXRTracker::FImpl::UpdateSGWristJointData(
|
||||
const float WorldToMetersScale = XRTrackingSystem->GetWorldToMetersScale();
|
||||
|
||||
static constexpr EHandKeypoint Joint = EHandKeypoint::Wrist;
|
||||
static constexpr int32_t JointIndex = static_cast<int32>(Joint);
|
||||
static constexpr int32 JointIndex = static_cast<int32>(Joint);
|
||||
|
||||
OutHandState.KeypointTransforms[JointIndex] = WristTransform;
|
||||
OutHandState.Radii[JointIndex] = 0.01f * WorldToMetersScale;
|
||||
|
||||
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
float Radii[EHandKeypointCount];
|
||||
|
||||
uint8_t bReceivedJointPoses : 1;
|
||||
uint8 bReceivedJointPoses : 1;
|
||||
|
||||
public:
|
||||
FSGXRHandState();
|
||||
|
||||
Reference in New Issue
Block a user