Searched refs:SpotCutoff (Results 1 – 11 of 11) sorted by relevance
156 if (light->SpotCutoff == params[0]) in _mesa_light()159 light->SpotCutoff = params[0]; in _mesa_light()160 light->_CosCutoff = (GLfloat) (cos(light->SpotCutoff * DEG2RAD)); in _mesa_light()163 if (light->SpotCutoff != 180.0F) in _mesa_light()365 params[0] = ctx->Light.Light[l].SpotCutoff; in _mesa_GetLightfv()429 params[0] = (GLint) ctx->Light.Light[l].SpotCutoff; in _mesa_GetLightiv()1137 l->SpotCutoff = 180.0; in init_light()
196 if (light->SpotCutoff == 180.0) in make_state_key()
666 GLfloat SpotCutoff; /**< in degrees */ member
1078 p[0] = l->SpotCutoff; in _mesa_PopAttrib()
196 OFFSET( "LIGHT_SPOT_CUTOFF ", struct gl_light, SpotCutoff ); in main()
258 if (l->SpotCutoff > 0) { in nv10_get_spot_coeff()
120 value[0] = ctx->Light.Light[ln].SpotCutoff; in _mesa_fetch_state()
881 ctx->Driver.Lightfv( ctx, p, GL_SPOT_CUTOFF, &l->SpotCutoff ); in radeonInitState()
968 if (l->SpotCutoff != 180.0F) in radeonLightfv()
1227 ctx->Driver.Lightfv( ctx, p, GL_SPOT_CUTOFF, &l->SpotCutoff ); in r200InitState()
1184 if (l->SpotCutoff != 180.0F) in r200Lightfv()