diff options
Diffstat (limited to 'redist/linmath.h')
-rw-r--r-- | redist/linmath.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/redist/linmath.h b/redist/linmath.h index f961568..188be99 100644 --- a/redist/linmath.h +++ b/redist/linmath.h @@ -145,6 +145,9 @@ LINMATH_EXPORT void PoseToMatrix(FLT *mat44, const LinmathPose *pose_in); // // This assumes that the space A and B share an origin. LINMATH_EXPORT void KabschCentered(LinmathQuat B2Atx, const FLT *ptsA, const FLT *ptsB, int num_pts); + +// Same as above except it solves for the center for you +LINMATH_EXPORT void Kabsch(LinmathPose *B2Atx, const FLT *ptsA, const FLT *ptsB, int num_pts); // Matrix Stuff typedef struct { |