6 extern void (*MultMatrix)(float m0[4][4], float m1[4][4], float dest[4][4]);
7 extern void (*TransformVectorNormalize)(float vec[3], float mtx[4][4]);
8 extern void (*Normalize)(float v[3]);
9 extern float (*DotProduct)(float v0[3], float v1[3]);
11 inline void CopyMatrix( float m0[4][4], float m1[4][4] )
13 memcpy( m0, m1, 16 * sizeof( float ) );
16 inline void MultMatrix2( float m0[4][4], float m1[4][4] )
19 MultMatrix(m0, m1, dst);
20 memcpy( m0, dst, sizeof(float) * 16 );
23 inline void Transpose3x3Matrix( float mtx[4][4] )
28 mtx[0][1] = mtx[1][0];
32 mtx[0][2] = mtx[2][0];
36 mtx[1][2] = mtx[2][1];