diff --git a/Source/SenseGloveTracking/Private/SGTracking/SGXRTracker.cpp b/Source/SenseGloveTracking/Private/SGTracking/SGXRTracker.cpp index 1f184202..1c6dcc1b 100644 --- a/Source/SenseGloveTracking/Private/SGTracking/SGXRTracker.cpp +++ b/Source/SenseGloveTracking/Private/SGTracking/SGXRTracker.cpp @@ -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};