windows-nt/Source/XPSP1/NT/multimedia/opengl/test/demos/insect/mat.c
2020-09-26 16:20:57 +08:00

18 lines
199 B
C

#include <windows.h>
#include <GL/gl.h>
void
gl_IdentifyMatrix( GLfloat mat[16])
{
int i,j;
for (i = 0; i < 16; i++)
mat[i] = 0.0;
mat[0] = 1.0;
mat[5] = 1.0;
mat[10] = 1.0;
mat[15] = 1.0;
}