void EZ_CopyMatrix(EZ_Matrix des, EZ_Matrix src)
This function copy matrix src
to des
.
void EZ_CopyTransposeMatrix(EZ_Matrix des, EZ_Matrix src)
This function copy matrix src
to des
and transpose des
.
void EZ_IdentityMatrix(EZ_Matrix mtx)
This function copy the identity matrix to mtx
.
void EZ_ZeroMatrix(EZ_Matrix mtx)
This function copy the zero matrix to mtx
.
void EZ_InvertMatrix4_(EZ_Matrix ans, EZ_Matrix src, int transp)
This function compute the inverse of matrix src
and copy the
inverse to ans
. If transp
is nonzero, ans
returns
the inverse transpose of src
.
void EZ_World2Screen(float *xyz, int *x, int *y, float *fz)
void EZ_Screen2World(int x, int y, float *fx, float *fy)