translate senseglove/unreal angles/directions
This commit is contained in:
@@ -119,8 +119,7 @@ FSGSenseGlovePoseImpl FSGSenseGloveImpl::CalculateGlovePose(const TArray<TArray<
|
||||
const FSGSenseGloveInfoImpl& GloveModel)
|
||||
{
|
||||
std::vector<std::vector<FSGVect3DImpl::FVect3DType>> GloveAnglesVector{
|
||||
FSGArrayUtils::ToStdVector<FVector, FSGVect3DImpl::FVect3DType, FSGVect3DImpl, &FSGVect3DImpl::ToVect3D>(
|
||||
GloveAngles)
|
||||
FSGArrayUtils::ToSenseGloveAngles<FSGVect3DImpl::FVect3DType>(GloveAngles)
|
||||
};
|
||||
FSGSenseGlovePoseImpl Pose{
|
||||
FSenseGloveType::CalculateGlovePose(MoveTemp(GloveAnglesVector), GloveModel.ToSenseGloveInfo())
|
||||
|
||||
Reference in New Issue
Block a user