diff options
Diffstat (limited to 'redist/linmath.h')
-rw-r--r-- | redist/linmath.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/redist/linmath.h b/redist/linmath.h index 676d182..a58b2bf 100644 --- a/redist/linmath.h +++ b/redist/linmath.h @@ -89,9 +89,13 @@ void quatevenproduct( FLT * q, FLT * qa, FLT * qb ); void quatoddproduct( FLT * outvec3, FLT * qa, FLT * qb ); void quatslerp( FLT * q, const FLT * qa, const FLT * qb, FLT t ); void quatrotatevector( FLT * vec3out, const FLT * quat, const FLT * vec3in ); - void quatfrom2vectors(FLT *q, const FLT *src, const FLT *dest); +//Poses are Position: [x, y, z] Quaternion: [q, x, y, z] +void ApplyPoseToPoint( FLT * pout, const FLT * pin, const FLT * pose ); +void InvertPose( FLT * poseout, const FLT * pose ); + + // Matrix Stuff typedef struct |