Searched refs:_CosCutoff (Results 1 – 9 of 9) sorted by relevance
159 light->_CosCutoff = (cosf(light->SpotCutoff * M_PI / 180.0)); in _mesa_light()160 if (light->_CosCutoff < 0) in _mesa_light()161 light->_CosCutoff = 0; in _mesa_light()1018 if (PV_dot_dir > light->_CosCutoff) { in compute_light_positions()1138 l->_CosCutoff = 0.0; /* KW: -ve values not admitted */ in init_light()
171 if (PV_dot_dir<light->_CosCutoff) { in shade_rastpos()
347 GLfloat _CosCutoff; /**< = MAX(0, cos(SpotCutoff)) */ member
219 OFFSET( "LIGHT_COS_CUTOFF ", struct gl_light, _CosCutoff ); in main()
148 if (PV_dot_dir<light->_CosCutoff) { in TAG()327 if (PV_dot_dir<light->_CosCutoff) { in TAG()
125 value[3] = ctx->Light.Light[ln]._CosCutoff; in _mesa_fetch_state()533 value[3] = ctx->Light.Light[ln]._CosCutoff; in _mesa_fetch_state()
260 float cutoff = MAX2(a3, 1 / (1 - l->_CosCutoff)); in nv10_get_spot_coeff()
969 fcmd[LIT_SPOT_CUTOFF] = l->_CosCutoff; in radeonLightfv()
1184 fcmd[LIT_SPOT_CUTOFF] = l->_CosCutoff; in r200Lightfv()