Home | History | Annotate | Download | only in tnl

Lines Matching defs:normal

59    const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data;
88 for (j = 0; j < nr; j++,STRIDE_F(vertex,vstride),STRIDE_F(normal,nstride)) {
161 /* Compute dot product or normal and vector from V to light pos */
162 n_dot_VP = DOT3( normal, VP );
206 n_dot_h = correction * DOT3(normal, h);
245 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data;
269 for (j = 0; j < nr; j++,STRIDE_F(vertex,vstride),STRIDE_F(normal,nstride)) {
340 /* Compute dot product or normal and vector from V to light pos */
341 n_dot_VP = DOT3( normal, VP );
386 n_dot_h = correction * DOT3(normal, h);
421 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data;
456 for (j = 0; j < nr; j++, STRIDE_F(normal,nstride)) {
481 n_dot_VP = DOT3(normal, light->_VP_inf_norm);
485 GLfloat n_dot_h = -DOT3(normal, light->_h_inf_norm);
499 GLfloat n_dot_h = DOT3(normal, light->_h_inf_norm);
527 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data;
562 for (j = 0; j < nr; j++, STRIDE_F(normal,nstride)) {
593 n_dot_VP = DOT3(normal, light->_VP_inf_norm);
597 n_dot_h = DOT3(normal, light->_h_inf_norm);
606 n_dot_h = -DOT3(normal, light->_h_inf_norm);