bump sg libraries to v2.0.2 and adjust to the latest changes

This commit is contained in:
Mamadou Babaei
2022-11-17 02:29:10 +01:00
parent 6293c8f285
commit d5f45d8cc6
118 changed files with 235 additions and 235 deletions
@@ -68,14 +68,14 @@ float FSGAnatomy::GetThumbJointLimit(const bool bRightHanded, const int32 Joint,
return SGCoreImpl_FSGAnatomyImpl_GetThumbJointLimit(bRightHanded, Joint, Movement, bMax);
}
float FSGAnatomy::NormalizeFingerFlex(const float FlexionInRadians)
float FSGAnatomy::NormalizeFingerFlexion(const float FlexionInRadians)
{
return SGCoreImpl_FSGAnatomyImpl_NormalizeFingerFlex(FlexionInRadians);
return SGCoreImpl_FSGAnatomyImpl_NormalizeFingerFlexion(FlexionInRadians);
}
float FSGAnatomy::NormalizeThumbFlex(float FlexionInRadians)
float FSGAnatomy::NormalizeThumbFlexion(const float FlexionInRadians)
{
return SGCoreImpl_FSGAnatomyImpl_NormalizeThumbFlex(FlexionInRadians);
return SGCoreImpl_FSGAnatomyImpl_NormalizeThumbFlexion(FlexionInRadians);
}
TArray<TArray<FVector>> FSGAnatomy::GetDefaultHandAngles(const bool bRightHanded)
@@ -85,21 +85,21 @@ TArray<TArray<FVector>> FSGAnatomy::GetDefaultHandAngles(const bool bRightHanded
return MoveTemp(OutAnglesContainer.Array);
}
TArray<TArray<FVector>> FSGAnatomy::GetFlatHandAngles(bool bRightHanded)
TArray<TArray<FVector>> FSGAnatomy::GetFlatHandAngles(const bool bRightHanded)
{
FSGIC_TArray_TArray_FVector OutAnglesContainer;
SGCoreImpl_FSGAnatomyImpl_GetFlatHandAngles(&OutAnglesContainer, bRightHanded);
return MoveTemp(OutAnglesContainer.Array);
}
TArray<TArray<FVector>> FSGAnatomy::GetThumbsUpHandAngles(bool bRightHanded)
TArray<TArray<FVector>> FSGAnatomy::GetThumbsUpHandAngles(const bool bRightHanded)
{
FSGIC_TArray_TArray_FVector OutAnglesContainer;
SGCoreImpl_FSGAnatomyImpl_GetThumbsUpHandAngles(&OutAnglesContainer, bRightHanded);
return MoveTemp(OutAnglesContainer.Array);
}
TArray<TArray<FVector>> FSGAnatomy::GetFistHandAngles(bool bRightHanded)
TArray<TArray<FVector>> FSGAnatomy::GetFistHandAngles(const bool bRightHanded)
{
FSGIC_TArray_TArray_FVector OutAnglesContainer;
SGCoreImpl_FSGAnatomyImpl_GetFistHandAngles(&OutAnglesContainer, bRightHanded);
@@ -224,10 +224,10 @@ TArray<FVector> USGBasicHandModel::GetBaseJointPositions()
return MoveTemp(OutPositionsContainer.Array);
}
TArray<FVector> USGBasicHandModel::GetBaseJointRotations()
TArray<FVector> USGBasicHandModel::GetBaseJointAngles()
{
FSGIC_TArray_FVector OutRotationsContainer;
SGCoreImpl_FSGBasicHandModelImpl_GetBaseJointRotations(&OutRotationsContainer);
SGCoreImpl_FSGBasicHandModelImpl_GetBaseJointAngles(&OutRotationsContainer);
return MoveTemp(OutRotationsContainer.Array);
}