Lines Matching refs:VP
133 GLfloat VP[3]; /* vector from vertex to light pos */ in shade_rastpos() local
139 COPY_3V(VP, light->_VP_inf_norm); in shade_rastpos()
147 SUB_3V(VP, light->_Position, vertex); in shade_rastpos()
149 d = (GLfloat) LEN_3FV( VP ); in shade_rastpos()
153 SELF_SCALE_SCALAR_3V(VP, invd); in shade_rastpos()
162 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection); in shade_rastpos()
177 n_dot_VP = DOT3( normal, VP ); in shade_rastpos()
199 SUB_3V(VP, VP, v); in shade_rastpos()
200 NORMALIZE_3FV(VP); in shade_rastpos()
201 h = VP; in shade_rastpos()
204 ACC_3V(VP, ctx->_EyeZDir); in shade_rastpos()
205 NORMALIZE_3FV(VP); in shade_rastpos()
206 h = VP; in shade_rastpos()