diff options
author | cnlohr <lohr85@gmail.com> | 2017-03-11 16:36:28 -0500 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2017-03-11 16:36:28 -0500 |
commit | 0d286eef9634116828ead278f9534f04ecbb6ecd (patch) | |
tree | 0ef5b705a6fa273fb261d46f6d59baa7d9c51fcc /redist/linmath.h | |
parent | cdc60d110a9cd69c5bd8c0ac4e67db1ce7cecc93 (diff) | |
download | libsurvive-0d286eef9634116828ead278f9534f04ecbb6ecd.tar.gz libsurvive-0d286eef9634116828ead278f9534f04ecbb6ecd.tar.bz2 |
Update a few files... need to get working with linmath. But first switching accounts.
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 |