Lines Matching refs:VP
158 GLfloat VP[3]; /* vector from vertex to light pos */ in shade_rastpos() local
164 COPY_3V(VP, light->_VP_inf_norm); in shade_rastpos()
172 SUB_3V(VP, light->_Position, vertex); in shade_rastpos()
174 d = (GLfloat) LEN_3FV( VP ); in shade_rastpos()
178 SELF_SCALE_SCALAR_3V(VP, invd); in shade_rastpos()
187 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection); in shade_rastpos()
202 n_dot_VP = DOT3( normal, VP ); in shade_rastpos()
224 SUB_3V(VP, VP, v); in shade_rastpos()
225 NORMALIZE_3FV(VP); in shade_rastpos()
226 h = VP; in shade_rastpos()
229 ACC_3V(VP, ctx->_EyeZDir); in shade_rastpos()
230 NORMALIZE_3FV(VP); in shade_rastpos()
231 h = VP; in shade_rastpos()