Lines Matching refs:VP
140 GLfloat VP[3]; /* vector from vertex to light pos */ in shade_rastpos() local
146 COPY_3V(VP, light->_VP_inf_norm); in shade_rastpos()
154 SUB_3V(VP, light->_Position, vertex); in shade_rastpos()
156 d = (GLfloat) LEN_3FV( VP ); in shade_rastpos()
160 SELF_SCALE_SCALAR_3V(VP, invd); in shade_rastpos()
169 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection); in shade_rastpos()
184 n_dot_VP = DOT3( normal, VP ); in shade_rastpos()
206 SUB_3V(VP, VP, v); in shade_rastpos()
207 NORMALIZE_3FV(VP); in shade_rastpos()
208 h = VP; in shade_rastpos()
211 ACC_3V(VP, ctx->_EyeZDir); in shade_rastpos()
212 NORMALIZE_3FV(VP); in shade_rastpos()
213 h = VP; in shade_rastpos()