use fixed-width integers
This commit is contained in:
@@ -1950,14 +1950,14 @@ bool FSGXRTracker::GetAllKeypointStates(
|
||||
|
||||
const FTransform& TrackingToWorldTransform{Pimpl->XRTrackingSystem->GetTrackingToWorldTransform()};
|
||||
|
||||
for (int i = 0; i < EHandKeypointCount; ++i)
|
||||
for (int32 i = 0; i < EHandKeypointCount; ++i)
|
||||
{
|
||||
FTransform KeypointWorldTransform{HandState.KeypointTransforms[i] * TrackingToWorldTransform};
|
||||
OutPositions.Add(KeypointWorldTransform.GetLocation());
|
||||
OutRotations.Add(KeypointWorldTransform.GetRotation());
|
||||
}
|
||||
|
||||
for (int i = 0; i < EHandKeypointCount; ++i)
|
||||
for (int32 i = 0; i < EHandKeypointCount; ++i)
|
||||
{
|
||||
OutRadii.Add(HandState.Radii[i]);
|
||||
}
|
||||
@@ -2078,7 +2078,7 @@ bool FSGXRTracker::FImpl::UpdateXRHandTrackingData(
|
||||
XR_HAND_JOINT_PALM_EXT == 0 && XR_HAND_JOINT_LITTLE_TIP_EXT == XR_HAND_JOINT_COUNT_EXT - 1,
|
||||
"XrHandJointEXT enum is not as assumed for the following loop!");
|
||||
|
||||
for (int j = 0; j < XR_HAND_JOINT_COUNT_EXT; ++j)
|
||||
for (int32 j = 0; j < XR_HAND_JOINT_COUNT_EXT; ++j)
|
||||
{
|
||||
const XrHandJointLocationEXT& JointLocation{OutHandState.JointLocations[j]};
|
||||
const XrPosef& Pose{JointLocation.pose};
|
||||
|
||||
Reference in New Issue
Block a user