Lines Matching defs:ln
108 const GLuint ln = (GLuint) state[1];
113 COPY_4V(value, (float*)&ctx->Light.LightSource[ln] + index * 4);
115 value[0] = ctx->Light.LightSource[ln].SpotCutoff;
168 const GLuint ln = (GLuint) state[1];
183 value[i] = ctx->Light.LightSource[ln].Ambient[attr + i] *
594 * exp: 2^-(density/ln(2) * fogcoord)
595 * exp2: 2^-((density/(sqrt(ln(2))) * fogcoord)^2)
601 value[2] = (GLfloat)(ctx->Fog.Density * M_LOG2E); /* M_LOG2E == 1/ln(2) */
642 const GLuint ln = (GLuint) state[1];
643 COPY_3V(value, ctx->Light.Light[ln]._NormSpotDirection);
644 value[3] = ctx->Light.LightSource[ln]._CosCutoff;
650 const GLuint ln = (GLuint) state[1];
651 COPY_4V(value, ctx->Light.Light[ln]._Position);
667 const GLuint ln = (GLuint) state[1];
669 COPY_4V(p, ctx->Light.Light[ln]._Position);
690 const GLuint ln = (GLuint) state[1];
696 COPY_3V(p, ctx->Light.Light[ln]._Position);