apply senseglove/unreal angle conversions in the gloves' api

This commit is contained in:
Mamadou Babaei
2024-03-22 20:54:49 +01:00
parent 0a5553987f
commit 68cc271461
4 changed files with 9 additions and 15 deletions
@@ -373,8 +373,7 @@ bool FSGSenseGloveImpl::GetHandAngles(TArray<TArray<FVector>>& OutHandAngles) co
std::vector<std::vector<FSGVect3DImpl::FVect3DType>> HandAngles;
const bool bResult = ToSenseGlovePtrChecked()->GetHandAngles(HandAngles);
OutHandAngles =
FSGArrayUtils::FromStdVector<FSGVect3DImpl::FVect3DType, FVector, FSGVect3DImpl, &FSGVect3DImpl::ToFVector>(
MoveTemp(HandAngles));
FSGArrayUtils::FromSenseGloveAngles<FSGVect3DImpl::FVect3DType>(MoveTemp(HandAngles));
return bResult;
}