Searched refs:n_dot_VP (Results 1 – 1 of 1) sorted by relevance
152 GLfloat n_dot_VP; /* n dot VP */ in gl_color_shade_vertices() local210 n_dot_VP = nx * VPx + ny * VPy + nz * VPz; in gl_color_shade_vertices()213 if (n_dot_VP<=0.0F) { in gl_color_shade_vertices()227 diffuseR = n_dot_VP * mat->Diffuse[0] * light->Diffuse[0]; in gl_color_shade_vertices()228 diffuseG = n_dot_VP * mat->Diffuse[1] * light->Diffuse[1]; in gl_color_shade_vertices()370 GLfloat n_dot_VP; /* n dot VP */ in gl_color_shade_vertices_fast() local372 n_dot_VP = nx * light->VP_inf_norm[0] in gl_color_shade_vertices_fast()377 if (n_dot_VP>0.0F) { in gl_color_shade_vertices_fast()382 sumR += n_dot_VP * lightMatDiffuse[0]; in gl_color_shade_vertices_fast()383 sumG += n_dot_VP * lightMatDiffuse[1]; in gl_color_shade_vertices_fast()[all …]