public static Vector3 _LerpDir( ref Vector3 src, ref Vector3 dst, float r )
{
float theta;
Vector3 axis;
if( _ComputeThetaAxis( ref src, ref dst, out theta, out axis ) ) {
Matrix3x3 basis;
_LerpRotateBasis( out basis, ref axis, theta, r );
Vector3 tmp;
SAFBIKMatMultVec( out tmp, ref basis, ref src );
return tmp;
}
return dst;
}