aboutsummaryrefslogtreecommitdiff
path: root/redist/linmath.h
diff options
context:
space:
mode:
authormwturvey <michael.w.turvey@intel.com>2017-02-07 17:43:12 -0700
committermwturvey <michael.w.turvey@intel.com>2017-02-07 17:43:12 -0700
commit0586f134e02938e1a9dd86ad92e41c2b2443fee0 (patch)
treecb40d2ddad665fcb2f258af46e496d814d6a7abf /redist/linmath.h
parenta4cf0b14abb17c313243d0fb84555aec2cef61a0 (diff)
downloadlibsurvive-0586f134e02938e1a9dd86ad92e41c2b2443fee0.tar.gz
libsurvive-0586f134e02938e1a9dd86ad92e41c2b2443fee0.tar.bz2
Replacing rotation matrix (wip)
Diffstat (limited to 'redist/linmath.h')
-rw-r--r--redist/linmath.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/redist/linmath.h b/redist/linmath.h
index 530d291..3b11c1b 100644
--- a/redist/linmath.h
+++ b/redist/linmath.h
@@ -59,7 +59,7 @@ int compare3d( const FLT * a, const FLT * b, FLT epsilon );
void copy3d( FLT * out, const FLT * in );
-FLT magnitude3d( FLT * a );
+FLT magnitude3d(const FLT * a );
FLT anglebetween3d( FLT * a, FLT * b );
@@ -87,6 +87,8 @@ 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 getRotationTo(FLT *q, const FLT *src, const FLT *dest);
+
// Matrix Stuff
typedef struct