windows-nt/Source/XPSP1/NT/multimedia/opengl/test/demos/insect/mat.c

18 lines
199 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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;
}