remove redundant sgxrtracker code
This commit is contained in:
@@ -2290,8 +2290,6 @@ bool FSGXRTracker::FImpl::UpdateSGJointData(
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const FTransform& TrackingToWorldTransform{XRTrackingSystem->GetTrackingToWorldTransform()};
|
|
||||||
const FTransform& WorldToTrackingTransform{TrackingToWorldTransform.Inverse()};
|
|
||||||
const float WorldToMetersScale = XRTrackingSystem->GetWorldToMetersScale();
|
const float WorldToMetersScale = XRTrackingSystem->GetWorldToMetersScale();
|
||||||
|
|
||||||
const int32 JointIndex = static_cast<int32>(Joint);
|
const int32 JointIndex = static_cast<int32>(Joint);
|
||||||
@@ -2320,7 +2318,6 @@ bool FSGXRTracker::FImpl::UpdateSGWristJointData(
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const FTransform& TrackingToWorldTransform{XRTrackingSystem->GetTrackingToWorldTransform()};
|
|
||||||
const float WorldToMetersScale = XRTrackingSystem->GetWorldToMetersScale();
|
const float WorldToMetersScale = XRTrackingSystem->GetWorldToMetersScale();
|
||||||
|
|
||||||
static constexpr EHandKeypoint Joint = EHandKeypoint::Wrist;
|
static constexpr EHandKeypoint Joint = EHandKeypoint::Wrist;
|
||||||
|
|||||||
Reference in New Issue
Block a user