Home
last modified time | relevance | path

Searched refs:n_dot_h (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/tnl/
Dt_vb_lighttmp.h113 GLfloat n_dot_h; in TAG() local
206 n_dot_h = correction * DOT3(normal, h); in TAG()
208 if (n_dot_h > 0.0F) { in TAG()
209 GLfloat spec_coef = lookup_shininess(ctx, side, n_dot_h); in TAG()
292 GLfloat n_dot_h; in TAG() local
386 n_dot_h = correction * DOT3(normal, h); in TAG()
388 if (n_dot_h > 0.0F) { in TAG()
389 GLfloat spec_coef = lookup_shininess(ctx, side, n_dot_h); in TAG()
485 GLfloat n_dot_h = -DOT3(normal, light->_h_inf_norm); in TAG() local
489 if (n_dot_h > 0.0F) { in TAG()
[all …]
/external/mesa3d/src/mesa/main/
Drastpos.c198 GLfloat n_dot_h; in shade_rastpos() local
219 n_dot_h = DOT3(normal, h); in shade_rastpos()
221 if (n_dot_h > 0.0F) { in shade_rastpos()
226 spec_coef = powf(n_dot_h, shine); in shade_rastpos()