/* Tested with LINT */ #include "gli_st.h" #include "matstack.h" #ifdef __cplusplus extern "C" { #endif void GLI_xInitMatrixStack ( void ) /*marc*/ { ACP_tdxIndex xI; g_lNbMatrixInStack = 0; /* POS_fn_vSetIdentityMatrix(&g_aDEF_stMatrixStack [ g_lNbMatrixInStack ]);*/ /* MTH3D_M_vNullVector(&(g_aDEF_stMatrixStack [ g_lNbMatrixInStack ].stTranslationVector)); MTH3D_M_vSetIdentityMatrix(&(g_aDEF_stMatrixStack [ g_lNbMatrixInStack ].stRotationMatrix)); MTH3D_M_vSetIdentityMatrix(&(g_aDEF_stMatrixStack [ g_lNbMatrixInStack ].stTransformMatrix)); g_aDEF_stMatrixStack [ g_lNbMatrixInStack ].ulType = POS_C_ulIdentityMatrixFlag; */ /* Initialise all the matrix of the matrix stack before using them*/ for(xI=0;xI