Lines Matching defs:ln
102 const GLuint ln = (GLuint) state[1];
106 COPY_4V(value, ctx->Light.Light[ln].Ambient);
109 COPY_4V(value, ctx->Light.Light[ln].Diffuse);
112 COPY_4V(value, ctx->Light.Light[ln].Specular);
115 COPY_4V(value, ctx->Light.Light[ln].EyePosition);
118 value[0] = ctx->Light.Light[ln].ConstantAttenuation;
119 value[1] = ctx->Light.Light[ln].LinearAttenuation;
120 value[2] = ctx->Light.Light[ln].QuadraticAttenuation;
121 value[3] = ctx->Light.Light[ln].SpotExponent;
124 COPY_3V(value, ctx->Light.Light[ln].SpotDirection);
125 value[3] = ctx->Light.Light[ln]._CosCutoff;
128 value[0] = ctx->Light.Light[ln].SpotCutoff;
138 COPY_3V(p, ctx->Light.Light[ln].EyePosition);
177 const GLuint ln = (GLuint) state[1];
184 value[i] = ctx->Light.Light[ln].Ambient[i] *
192 value[i] = ctx->Light.Light[ln].Diffuse[i] *
200 value[i] = ctx->Light.Light[ln].Specular[i] *
467 * exp: 2^-(density/ln(2) * fogcoord)
468 * exp2: 2^-((density/(sqrt(ln(2))) * fogcoord)^2)
473 value[2] = (GLfloat)(ctx->Fog.Density * M_LOG2E); /* M_LOG2E == 1/ln(2) */
513 const GLuint ln = (GLuint) state[2];
514 COPY_3V(value, ctx->Light.Light[ln]._NormSpotDirection);
515 value[3] = ctx->Light.Light[ln]._CosCutoff;
521 const GLuint ln = (GLuint) state[2];
522 COPY_4V(value, ctx->Light.Light[ln]._Position);
528 const GLuint ln = (GLuint) state[2];
529 COPY_4V(value, ctx->Light.Light[ln]._Position);
536 const GLuint ln = (GLuint) state[2];
542 COPY_3V(p, ctx->Light.Light[ln]._Position);