Searched refs:_CosCutoff (Results 1 – 9 of 9) sorted by relevance
160 light->_CosCutoff = (GLfloat) (cos(light->SpotCutoff * DEG2RAD)); in _mesa_light()161 if (light->_CosCutoff < 0) in _mesa_light()162 light->_CosCutoff = 0; in _mesa_light()1016 if (PV_dot_dir > light->_CosCutoff) { in compute_light_positions()1138 l->_CosCutoff = 0.0; /* KW: -ve values not admitted */ in init_light()
667 GLfloat _CosCutoff; /**< = MAX(0, cos(SpotCutoff)) */ member
197 OFFSET( "LIGHT_COS_CUTOFF ", struct gl_light, _CosCutoff ); in main()
146 if (PV_dot_dir<light->_CosCutoff) { in TAG()324 if (PV_dot_dir<light->_CosCutoff) { in TAG()
164 if (PV_dot_dir<light->_CosCutoff) { in shade_rastpos()
117 value[3] = ctx->Light.Light[ln]._CosCutoff; in _mesa_fetch_state()505 value[3] = ctx->Light.Light[ln]._CosCutoff; in _mesa_fetch_state()
259 float cutoff = MAX2(a3, 1 / (1 - l->_CosCutoff)); in nv10_get_spot_coeff()
965 fcmd[LIT_SPOT_CUTOFF] = l->_CosCutoff; in radeonLightfv()
1181 fcmd[LIT_SPOT_CUTOFF] = l->_CosCutoff; in r200Lightfv()