Searched refs:shadowMat (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Ddinoshade.c169 shadowMatrix(GLfloat shadowMat[4][4], argument
181 shadowMat[0][0] = dot - lightpos[X] * groundplane[X];
182 shadowMat[1][0] = 0.f - lightpos[X] * groundplane[Y];
183 shadowMat[2][0] = 0.f - lightpos[X] * groundplane[Z];
184 shadowMat[3][0] = 0.f - lightpos[X] * groundplane[W];
186 shadowMat[X][1] = 0.f - lightpos[Y] * groundplane[X];
187 shadowMat[1][1] = dot - lightpos[Y] * groundplane[Y];
188 shadowMat[2][1] = 0.f - lightpos[Y] * groundplane[Z];
189 shadowMat[3][1] = 0.f - lightpos[Y] * groundplane[W];
191 shadowMat[
[all...]
H A Dteapot.c86 shadowmatrix(GLfloat shadowMat[4][4], argument
98 shadowMat[0][0] = dot - lightpos[X] * groundplane[X];
99 shadowMat[1][0] = 0.f - lightpos[X] * groundplane[Y];
100 shadowMat[2][0] = 0.f - lightpos[X] * groundplane[Z];
101 shadowMat[3][0] = 0.f - lightpos[X] * groundplane[W];
103 shadowMat[X][1] = 0.f - lightpos[Y] * groundplane[X];
104 shadowMat[1][1] = dot - lightpos[Y] * groundplane[Y];
105 shadowMat[2][1] = 0.f - lightpos[Y] * groundplane[Z];
106 shadowMat[3][1] = 0.f - lightpos[Y] * groundplane[W];
108 shadowMat[
[all...]

Completed in 9 milliseconds