Lines Matching defs:ln
109 const GLuint ln = (GLuint) state[1];
114 COPY_4V(value, (float*)&ctx->Light.LightSource[ln] + index * 4);
116 value[0] = ctx->Light.LightSource[ln].SpotCutoff;
169 const GLuint ln = (GLuint) state[1];
184 value[i] = ctx->Light.LightSource[ln].Ambient[attr + i] *
595 * exp: 2^-(density/ln(2) * fogcoord)
596 * exp2: 2^-((density/(sqrt(ln(2))) * fogcoord)^2)
602 value[2] = (GLfloat)(ctx->Fog.Density * M_LOG2E); /* M_LOG2E == 1/ln(2) */
643 const GLuint ln = (GLuint) state[1];
644 COPY_3V(value, ctx->Light.Light[ln]._NormSpotDirection);
645 value[3] = ctx->Light.LightSource[ln]._CosCutoff;
651 const GLuint ln = (GLuint) state[1];
652 COPY_4V(value, ctx->Light.Light[ln]._Position);
668 const GLuint ln = (GLuint) state[1];
670 COPY_4V(p, ctx->Light.Light[ln]._Position);
691 const GLuint ln = (GLuint) state[1];
697 COPY_3V(p, ctx->Light.Light[ln]._Position);