Lines Matching refs:GLfloat
52 GLfloat (*base)[3] = ctx->Light._BaseColor; in TAG()
53 GLfloat sumA[2]; in TAG()
57 const GLfloat *vertex = (GLfloat *)input->data; in TAG()
59 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; in TAG()
61 GLfloat (*Fcolor)[4] = (GLfloat (*)[4]) store->LitColor[0].data; in TAG()
62 GLfloat (*Fspec)[4] = (GLfloat (*)[4]) store->LitSecondary[0].data; in TAG()
64 GLfloat (*Bcolor)[4] = (GLfloat (*)[4]) store->LitColor[1].data; in TAG()
65 GLfloat (*Bspec)[4] = (GLfloat (*)[4]) store->LitSecondary[1].data; in TAG()
89 GLfloat sum[2][3], spec[2][3]; in TAG()
113 GLfloat n_dot_h; in TAG()
114 GLfloat correction; in TAG()
116 GLfloat contrib[3]; in TAG()
117 GLfloat attenuation; in TAG()
118 GLfloat VP[3]; /* unit vector from vertex to light */ in TAG()
119 GLfloat n_dot_VP; /* n dot VP */ in TAG()
120 GLfloat *h; in TAG()
129 GLfloat d; /* distance from vertex to light */ in TAG()
133 d = (GLfloat) LEN_3FV( VP ); in TAG()
136 GLfloat invd = 1.0F / d; in TAG()
146 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection); in TAG()
152 GLfloat spot = powf(PV_dot_dir, light->SpotExponent); in TAG()
190 GLfloat v[3]; in TAG()
209 GLfloat spec_coef = lookup_shininess(ctx, side, n_dot_h); in TAG()
239 GLfloat (*base)[3] = ctx->Light._BaseColor; in TAG()
240 GLfloat sumA[2]; in TAG()
243 const GLfloat *vertex = (GLfloat *) input->data; in TAG()
245 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; in TAG()
247 GLfloat (*Fcolor)[4] = (GLfloat (*)[4]) store->LitColor[0].data; in TAG()
249 GLfloat (*Bcolor)[4] = (GLfloat (*)[4]) store->LitColor[1].data; in TAG()
270 GLfloat sum[2][3]; in TAG()
292 GLfloat n_dot_h; in TAG()
293 GLfloat correction; in TAG()
295 GLfloat contrib[3]; in TAG()
296 GLfloat attenuation; in TAG()
297 GLfloat VP[3]; /* unit vector from vertex to light */ in TAG()
298 GLfloat n_dot_VP; /* n dot VP */ in TAG()
299 GLfloat *h; in TAG()
308 GLfloat d; /* distance from vertex to light */ in TAG()
312 d = (GLfloat) LEN_3FV( VP ); in TAG()
315 GLfloat invd = 1.0F / d; in TAG()
325 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection); in TAG()
331 GLfloat spot = powf(PV_dot_dir, light->SpotExponent); in TAG()
370 GLfloat v[3]; in TAG()
389 GLfloat spec_coef = lookup_shininess(ctx, side, n_dot_h); in TAG()
421 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; in TAG()
422 GLfloat (*Fcolor)[4] = (GLfloat (*)[4]) store->LitColor[0].data; in TAG()
424 GLfloat (*Bcolor)[4] = (GLfloat (*)[4]) store->LitColor[1].data; in TAG()
429 GLfloat base[2][4]; in TAG()
458 GLfloat n_dot_VP; in TAG()
485 GLfloat n_dot_h = -DOT3(normal, light->_h_inf_norm); in TAG()
486 GLfloat sum[3]; in TAG()
490 GLfloat spec = lookup_shininess(ctx, 1, n_dot_h); in TAG()
499 GLfloat n_dot_h = DOT3(normal, light->_h_inf_norm); in TAG()
500 GLfloat sum[3]; in TAG()
504 GLfloat spec = lookup_shininess(ctx, 0, n_dot_h); in TAG()
525 GLfloat sumA[2]; in TAG()
527 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; in TAG()
528 GLfloat (*Fcolor)[4] = (GLfloat (*)[4]) store->LitColor[0].data; in TAG()
530 GLfloat (*Bcolor)[4] = (GLfloat (*)[4]) store->LitColor[1].data; in TAG()
564 GLfloat sum[2][3]; in TAG()
586 GLfloat n_dot_h, n_dot_VP, spec; in TAG()