Lines Matching refs:VP
118 GLfloat VP[3]; /* unit vector from vertex to light */ in TAG() local
125 COPY_3V(VP, light->_VP_inf_norm); in TAG()
131 SUB_3V(VP, light->_Position, vertex); in TAG()
133 d = (GLfloat) LEN_3FV( VP ); in TAG()
137 SELF_SCALE_SCALAR_3V(VP, invd); in TAG()
146 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection); in TAG()
162 n_dot_VP = DOT3( normal, VP ); in TAG()
193 SUB_3V(VP, VP, v); /* h = VP + VPe */ in TAG()
194 h = VP; in TAG()
198 h = VP; in TAG()
297 GLfloat VP[3]; /* unit vector from vertex to light */ in TAG() local
304 COPY_3V(VP, light->_VP_inf_norm); in TAG()
310 SUB_3V(VP, light->_Position, vertex); in TAG()
312 d = (GLfloat) LEN_3FV( VP ); in TAG()
316 SELF_SCALE_SCALAR_3V(VP, invd); in TAG()
325 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection); in TAG()
341 n_dot_VP = DOT3( normal, VP ); in TAG()
373 SUB_3V(VP, VP, v); /* h = VP + VPe */ in TAG()
374 h = VP; in TAG()
378 h = VP; in TAG()