* This file contains routines that operate solely on matrices.
* -------------------------------------------------------------------------*/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifdef WIN32
-# include <memory.h> /* required for memset() and memcpy() */
+# ifndef HAVE_STL_SGI_PORT
+# include <memory.h> /* required for memset() and memcpy() */
+# endif
#endif
#include <string.h>
/* -------------------------- Public Routines ---------------------------- */
+#if !defined( USE_XTRA_MAT3_INLINES )
+
/*
* Sets a matrix to identity.
*/
mat1[i][3] * mat2[3][j]);
MAT3copy (result_mat, tmp_mat);
}
+#endif // !defined( USE_XTRA_MAT3_INLINES )
/*
* This returns the transpose of a matrix. The result matrix may be