Lines Matching refs:norm
107 const GLfloat *norm = normal->start; in build_m3() local
110 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m3()
114 two_nu = 2.0F * DOT3(norm,u); in build_m3()
115 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m3()
116 fy = f[i][1] = u[1] - norm[1] * two_nu; in build_m3()
117 fz = f[i][2] = u[2] - norm[2] * two_nu; in build_m3()
135 GLfloat *norm = normal->start; in build_m2() local
138 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m2()
143 two_nu = 2.0F * DOT3(norm,u); in build_m2()
144 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m2()
145 fy = f[i][1] = u[1] - norm[1] * two_nu; in build_m2()
146 fz = f[i][2] = u[2] - norm[2] * two_nu; in build_m2()
184 GLfloat *norm = normal->start; in build_f3() local
191 two_nu = 2.0F * DOT3(norm,u); in build_f3()
192 f[0] = u[0] - norm[0] * two_nu; in build_f3()
193 f[1] = u[1] - norm[1] * two_nu; in build_f3()
194 f[2] = u[2] - norm[2] * two_nu; in build_f3()
197 STRIDE_F(norm, normal->stride); in build_f3()
210 GLfloat *norm = normal->start; in build_f2() local
219 two_nu = 2.0F * DOT3(norm,u); in build_f2()
220 f[0] = u[0] - norm[0] * two_nu; in build_f2()
221 f[1] = u[1] - norm[1] * two_nu; in build_f2()
222 f[2] = u[2] - norm[2] * two_nu; in build_f2()
226 STRIDE_F(norm, normal->stride); in build_f2()
284 const GLfloat *norm = normal->start; in texgen_normal_map_nv() local
286 for (i=0;i<count;i++, STRIDE_F(norm, normal->stride)) { in texgen_normal_map_nv()
287 texcoord[i][0] = norm[0]; in texgen_normal_map_nv()
288 texcoord[i][1] = norm[1]; in texgen_normal_map_nv()
289 texcoord[i][2] = norm[2]; in texgen_normal_map_nv()
389 const GLfloat *norm = normal->start; in texgen() local
390 for (i=0;i<count;i++, STRIDE_F(norm, normal->stride)) { in texgen()
391 texcoord[i][0] = norm[0]; in texgen()
422 const GLfloat *norm = normal->start; in texgen() local
423 for (i=0;i<count;i++, STRIDE_F(norm, normal->stride)) { in texgen()
424 texcoord[i][1] = norm[1]; in texgen()
451 const GLfloat *norm = normal->start; in texgen() local
452 for (i=0;i<count;i++,STRIDE_F(norm, normal->stride)) { in texgen()
453 texcoord[i][2] = norm[2]; in texgen()