Lines Matching refs:norm
105 const GLfloat *norm = normal->start; in build_m3() local
108 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m3()
112 two_nu = 2.0F * DOT3(norm,u); in build_m3()
113 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m3()
114 fy = f[i][1] = u[1] - norm[1] * two_nu; in build_m3()
115 fz = f[i][2] = u[2] - norm[2] * two_nu; in build_m3()
133 GLfloat *norm = normal->start; in build_m2() local
136 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m2()
141 two_nu = 2.0F * DOT3(norm,u); in build_m2()
142 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m2()
143 fy = f[i][1] = u[1] - norm[1] * two_nu; in build_m2()
144 fz = f[i][2] = u[2] - norm[2] * two_nu; in build_m2()
182 GLfloat *norm = normal->start; in build_f3() local
189 two_nu = 2.0F * DOT3(norm,u); in build_f3()
190 f[0] = u[0] - norm[0] * two_nu; in build_f3()
191 f[1] = u[1] - norm[1] * two_nu; in build_f3()
192 f[2] = u[2] - norm[2] * two_nu; in build_f3()
195 STRIDE_F(norm, normal->stride); in build_f3()
208 GLfloat *norm = normal->start; in build_f2() local
217 two_nu = 2.0F * DOT3(norm,u); in build_f2()
218 f[0] = u[0] - norm[0] * two_nu; in build_f2()
219 f[1] = u[1] - norm[1] * two_nu; in build_f2()
220 f[2] = u[2] - norm[2] * two_nu; in build_f2()
224 STRIDE_F(norm, normal->stride); in build_f2()
282 const GLfloat *norm = normal->start; in texgen_normal_map_nv() local
284 for (i=0;i<count;i++, STRIDE_F(norm, normal->stride)) { in texgen_normal_map_nv()
285 texcoord[i][0] = norm[0]; in texgen_normal_map_nv()
286 texcoord[i][1] = norm[1]; in texgen_normal_map_nv()
287 texcoord[i][2] = norm[2]; in texgen_normal_map_nv()
387 const GLfloat *norm = normal->start; in texgen() local
388 for (i=0;i<count;i++, STRIDE_F(norm, normal->stride)) { in texgen()
389 texcoord[i][0] = norm[0]; in texgen()
420 const GLfloat *norm = normal->start; in texgen() local
421 for (i=0;i<count;i++, STRIDE_F(norm, normal->stride)) { in texgen()
422 texcoord[i][1] = norm[1]; in texgen()
449 const GLfloat *norm = normal->start; in texgen() local
450 for (i=0;i<count;i++,STRIDE_F(norm, normal->stride)) { in texgen()
451 texcoord[i][2] = norm[2]; in texgen()