Searched refs:LightPos (Results 1 - 5 of 5) sorted by relevance

/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Dfplight.c19 static GLfloat LightPos[4] = { 0.0, 10.0, 20.0, 1.0 }; variable in typeref:typename:GLfloat[4]
41 NAMED_PARAMETER4FV(FragProg, "LightPos", LightPos);
48 glLightfv(GL_LIGHT0, GL_POSITION, LightPos);
82 LightPos[0] += Delta;
83 if (LightPos[0] > 25.0)
85 else if (LightPos[0] <- 25.0)
117 LightPos[0] -= 1.0;
120 LightPos[0] += 1.0;
174 "DECLARE LightPos; \
[all...]
H A Darbfplight.c20 static GLfloat LightPos[4] = { 0.0, 10.0, 20.0, 1.0 }; variable in typeref:typename:GLfloat[4]
57 normalize( pos, LightPos );
58 pos[3] = LightPos[3];
66 glLightfv(GL_LIGHT0, GL_POSITION, LightPos);
98 LightPos[0] += Delta;
99 if (LightPos[0] > 25.0)
101 else if (LightPos[0] <- 25.0)
133 LightPos[0] -= 1.0;
136 LightPos[0] += 1.0;
211 "PARAM LightPos
[all...]
H A Dspectex.c27 static GLfloat LightPos[4] = {10.0, 10.0, 10.0, 1.0}; variable in typeref:typename:GLfloat[4]
47 LightPos[0] += Delta * dt;
48 if (LightPos[0]>15.0 || LightPos[0]<-15.0)
59 glLightfv(GL_LIGHT0, GL_POSITION, LightPos);
H A Dcuberender.c36 static GLfloat LightPos[4]; variable in typeref:typename:GLfloat[4]
111 glTranslatef(LightPos[0], LightPos[1], LightPos[2]);
241 glLightfv(GL_LIGHT0, GL_POSITION, LightPos);
394 ComputeLightPos(LightDist, LightLatitude, LightLongitude, LightPos);
419 glLightfv(GL_LIGHT0, GL_POSITION, LightPos);
H A Dshadowtex.c55 static GLfloat LightPos[4]; variable in typeref:typename:GLfloat[4]
561 LightPos, SpotDir);
564 MakeShadowMatrix(LightPos, SpotDir, SpotAngle, ShadowNear, ShadowFar);
590 glLightfv(GL_LIGHT0, GL_POSITION, LightPos);
615 EnableDistanceTexgen(LightPos, SpotDir, ShadowNear+Bias, ShadowFar);

Completed in 7 milliseconds