* The two vectors involved may be the same.
*/
-#include "mat3.h"
+#include <Math/mat3.h>
#ifndef TRUE
# define TRUE 1
# define FALSE 0
#endif
+#if !defined( USE_XTRA_MAT3_INLINES )
void
MAT3mult_vec(double *result_vec, register double *vec, register double (*mat)[4])
MAT3_COPY_VEC(result_vec, temp);
}
+#endif // !defined( USE_XTRA_MAT3_INLINES )
/*
* Multiplies a vector of size 4 by a matrix, setting the result vector.
return(ret);
}
+#if !defined( USE_XTRA_MAT3_INLINES )
+
/*
* Sets the first vector to be the cross-product of the last two vectors.
*/
MAT3_COPY_VEC(result_vec, temp);
}
+#endif // !defined( USE_XTRA_MAT3_INLINES )
/*
* Finds a vector perpendicular to vec and stores it in result_vec.