diff options
author | Mike Turvey <mturvey6@gmail.com> | 2017-05-30 17:56:52 -0700 |
---|---|---|
committer | Mike Turvey <mturvey6@gmail.com> | 2017-05-30 17:56:52 -0700 |
commit | 4741dca55f325eb3b56090bb3941ffa4152dfed8 (patch) | |
tree | 24e71a52434481ef5ab893d2eb7b298f65c69f45 /redist/linmath.h | |
parent | 5108f75390ee57fc4669a9110002585500176593 (diff) | |
download | libsurvive-4741dca55f325eb3b56090bb3941ffa4152dfed8.tar.gz libsurvive-4741dca55f325eb3b56090bb3941ffa4152dfed8.tar.bz2 |
Add angleaxisfrom2vect()
Diffstat (limited to 'redist/linmath.h')
-rw-r--r-- | redist/linmath.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/redist/linmath.h b/redist/linmath.h index 6f0bf60..8d6cf05 100644 --- a/redist/linmath.h +++ b/redist/linmath.h @@ -71,6 +71,8 @@ FLT magnitude3d(const FLT * a ); FLT anglebetween3d( FLT * a, FLT * b ); void rotatearoundaxis(FLT *outvec3, FLT *invec3, FLT *axis, FLT angle); +void angleaxisfrom2vect(FLT *angle, FLT *axis, FLT *src, FLT *dest); + //Quaternion things... void quatsetnone( FLT * q ); |