From 4741dca55f325eb3b56090bb3941ffa4152dfed8 Mon Sep 17 00:00:00 2001 From: Mike Turvey Date: Tue, 30 May 2017 17:56:52 -0700 Subject: Add angleaxisfrom2vect() --- redist/linmath.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'redist/linmath.h') 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 ); -- cgit v1.2.3