manipulateMatrix.c
// Print the matrix in usual rectangular form.

Print the matrix in usual rectangular form.
Print the matrix in usual rectangular form .
void displayModelviewMatrix(void)
{
   printf("The current modelview matrix:\n");
   printf("%f  ", modelviewMatrixData[0]);
   printf("%f  ", modelviewMatrixData[4]);
   printf("%f  ", modelviewMatrixData[8]);
   printf("%f\n", modelviewMatrixData[12]);
   printf("%f  ", modelviewMatrixData[1]);
   printf("%f  ", modelviewMatrixData[5]);
   printf("%f  ", modelviewMatrixData[9]);
   printf("%f\n", modelviewMatrixData[13]);
   printf("%f  ", modelviewMatrixData[2]);
   printf("%f  ", modelviewMatrixData[6]);
   printf("%f  ", modelviewMatrixData[10]);
   printf("%f\n", modelviewMatrixData[14]);
   printf("%f  ", modelviewMatrixData[3]);
   printf("%f  ", modelviewMatrixData[7]);
   printf("%f  ", modelviewMatrixData[11]);
   printf("%f\n", modelviewMatrixData[15]);
}
void displayModelviewMatrix ( void ) { printf ( " \n " ) ; printf ( " " , modelviewMatrixData [ 0 ] ) ; printf ( " " , modelviewMatrixData [ 4 ] ) ; printf ( " " , modelviewMatrixData [ 8 ] ) ; printf ( " \n " , modelviewMatrixData [ 12 ] ) ; printf ( " " , modelviewMatrixData [ 1 ] ) ; printf ( " " , modelviewMatrixData [ 5 ] ) ; printf ( " " , modelviewMatrixData [ 9 ] ) ; printf ( " \n " , modelviewMatrixData [ 13 ] ) ; printf ( " " , modelviewMatrixData [ 2 ] ) ; printf ( " " , modelviewMatrixData [ 6 ] ) ; printf ( " " , modelviewMatrixData [ 10 ] ) ; printf ( " \n " , modelviewMatrixData [ 14 ] ) ; printf ( " " , modelviewMatrixData [ 3 ] ) ; printf ( " " , modelviewMatrixData [ 7 ] ) ; printf ( " " , modelviewMatrixData [ 11 ] ) ; printf ( " \n " , modelviewMatrixData [ 15 ] ) ; }
Print the matrix in usual rectangular form.
Print the matrix in usual rectangular form .