minor api validation fixes

This commit is contained in:
Mamadou Babaei
2023-03-09 14:26:54 +01:00
parent 34934e8f63
commit 52e49a71b4
3 changed files with 14 additions and 2 deletions
@@ -82,12 +82,12 @@ public:
static float GetThumbJointLimit(bool bRightHanded, int32 Joint, int32 Movement, bool bMax);
/**
* Convert a total finger flexion in degrees.
* Convert a total finger flexion in degrees into a 0..1 representation.
*/
static float NormalizeFingerFlexion(float FlexionInDegrees);
/**
* Convert a total thumb flexion in degrees.
* Convert a total thumb flexion in degrees into a 0..1 representation.
*/
static float NormalizeThumbFlexion(float FlexionInDegrees);
@@ -236,16 +236,22 @@ public:
public:
/**
* Calculate any finger's movement rotation, using an input value.
*
* WARNING: This method is for internal use only. Avoid using it!
*/
float CalculateAngle(ESGFinger Finger, int32 Movement, float Value) const;
/**
* Calculate a finger movement's rotation, using an input value.
*
* WARNING: This method is for internal use only. Avoid using it!
*/
float CalculateAngle(ESGFinger Finger, ESGFingerMovement Movement, float Value) const;
/**
* Calculate a thumb movement's rotation, using an input value.
*
* WARNING: This method is for internal use only. Avoid using it!
*/
float CalculateAngle(ESGFinger Finger, ESGThumbMovement Movement, float Value) const;
@@ -147,6 +147,8 @@ public:
/**
* Calculate any finger's movement rotation, using an input value.
*
* WARNING: This method is for internal use only. Avoid using it!
*/
UFUNCTION(BlueprintPure, DisplayName="CalculateAngle",
Category="SenseGlove | Core | Kinematics | Hand Interpolator")
@@ -155,6 +157,8 @@ public:
/**
* Calculate a finger movement's rotation, using an input value.
*
* WARNING: This method is for internal use only. Avoid using it!
*/
UFUNCTION(BlueprintPure, DisplayName="CalculateAngle",
Category="SenseGlove | Core | Kinematics | Hand Interpolator")
@@ -163,6 +167,8 @@ public:
/**
* Calculate a thumb movement's rotation, using an input value.
*
* WARNING: This method is for internal use only. Avoid using it!
*/
UFUNCTION(BlueprintPure, DisplayName="CalculateAngle",
Category="SenseGlove | Core | Kinematics | Hand Interpolator")