Searched refs:lightpos (Results 1 - 5 of 5) sorted by relevance
| /xsrc/external/mit/mesa-demos/dist/src/demos/ |
| H A D | teapot.c | 55 static GLfloat lightpos[4]={2.3,0.0,3.0,1.0}; variable in typeref:typename:GLfloat[4] 88 GLfloat lightpos[4]) 93 dot = groundplane[X] * lightpos[X] + 94 groundplane[Y] * lightpos[Y] + 95 groundplane[Z] * lightpos[Z] + 96 groundplane[W] * lightpos[W]; 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[ 86 shadowmatrix(GLfloat shadowMat[4][4],GLfloat groundplane[4],GLfloat lightpos[4]) argument [all...] |
| H A D | dinoshade.c | 171 GLfloat lightpos[4]) 176 dot = groundplane[X] * lightpos[X] + 177 groundplane[Y] * lightpos[Y] + 178 groundplane[Z] * lightpos[Z] + 179 groundplane[W] * lightpos[W]; 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[ 169 shadowMatrix(GLfloat shadowMat[4][4],GLfloat groundplane[4],GLfloat lightpos[4]) argument [all...] |
| H A D | ray.c | 77 static float lightpos[3] = { 2.1, 2.1, 2.8 }; variable in typeref:typename:float[3] 148 lightpos[1] -= 0.1; 151 lightpos[1] += 0.1; 154 lightpos[0] -= 0.1; 157 lightpos[0] += 0.1; 160 lightpos[2] -= 0.1; 163 lightpos[2] += 0.1; 334 vsub(dist, lightpos, p); 371 vsub(ldir, lightpos, ppos); 454 vsub(ldir, lightpos, ppo [all...] |
| H A D | ipers.c | 80 static GLfloat lightpos[4] = { 30, 15.0, 30.0, 1.0 }; local in function:initlight 82 glLightfv(GL_LIGHT0, GL_POSITION, lightpos);
|
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| H A D | backspecular.c | 12 static const float lightpos[4] = { 0, 0, 10, 0 }; variable in typeref:typename:const float[4] 89 glLightfv(GL_LIGHT0, GL_POSITION, lightpos);
|
Completed in 5 milliseconds