Home | History | Annotate | Download | only in program

Lines Matching defs:ln

94          const GLuint ln = (GLuint) state[1];
98 COPY_4V(value, ctx->Light.Light[ln].Ambient);
101 COPY_4V(value, ctx->Light.Light[ln].Diffuse);
104 COPY_4V(value, ctx->Light.Light[ln].Specular);
107 COPY_4V(value, ctx->Light.Light[ln].EyePosition);
110 value[0] = ctx->Light.Light[ln].ConstantAttenuation;
111 value[1] = ctx->Light.Light[ln].LinearAttenuation;
112 value[2] = ctx->Light.Light[ln].QuadraticAttenuation;
113 value[3] = ctx->Light.Light[ln].SpotExponent;
116 COPY_3V(value, ctx->Light.Light[ln].SpotDirection);
117 value[3] = ctx->Light.Light[ln]._CosCutoff;
120 value[0] = ctx->Light.Light[ln].SpotCutoff;
130 COPY_3V(p, ctx->Light.Light[ln].EyePosition);
169 const GLuint ln = (GLuint) state[1];
176 value[i] = ctx->Light.Light[ln].Ambient[i] *
184 value[i] = ctx->Light.Light[ln].Diffuse[i] *
192 value[i] = ctx->Light.Light[ln].Specular[i] *
457 * exp: 2^-(density/ln(2) * fogcoord)
458 * exp2: 2^-((density/(ln(2)^2) * fogcoord)^2)
463 value[2] = (GLfloat)(ctx->Fog.Density * M_LOG2E); /* M_LOG2E == 1/ln(2) */
503 const GLuint ln = (GLuint) state[2];
504 COPY_3V(value, ctx->Light.Light[ln]._NormSpotDirection);
505 value[3] = ctx->Light.Light[ln]._CosCutoff;
511 const GLuint ln = (GLuint) state[2];
512 COPY_4V(value, ctx->Light.Light[ln]._Position);
518 const GLuint ln = (GLuint) state[2];
519 COPY_4V(value, ctx->Light.Light[ln]._Position);
526 const GLuint ln = (GLuint) state[2];
532 COPY_3V(p, ctx->Light.Light[ln]._Position);