Lines Matching refs:norm
106 const GLfloat *norm = normal->start; in build_m3() local
109 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m3()
113 two_nu = 2.0F * DOT3(norm,u); in build_m3()
114 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m3()
115 fy = f[i][1] = u[1] - norm[1] * two_nu; in build_m3()
116 fz = f[i][2] = u[2] - norm[2] * two_nu; in build_m3()
134 GLfloat *norm = normal->start; in build_m2() local
137 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m2()
142 two_nu = 2.0F * DOT3(norm,u); in build_m2()
143 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m2()
144 fy = f[i][1] = u[1] - norm[1] * two_nu; in build_m2()
145 fz = f[i][2] = u[2] - norm[2] * two_nu; in build_m2()
183 GLfloat *norm = normal->start; in build_f3() local
190 two_nu = 2.0F * DOT3(norm,u); in build_f3()
191 f[0] = u[0] - norm[0] * two_nu; in build_f3()
192 f[1] = u[1] - norm[1] * two_nu; in build_f3()
193 f[2] = u[2] - norm[2] * two_nu; in build_f3()
196 STRIDE_F(norm, normal->stride); in build_f3()
209 GLfloat *norm = normal->start; in build_f2() local
218 two_nu = 2.0F * DOT3(norm,u); in build_f2()
219 f[0] = u[0] - norm[0] * two_nu; in build_f2()
220 f[1] = u[1] - norm[1] * two_nu; in build_f2()
221 f[2] = u[2] - norm[2] * two_nu; in build_f2()
225 STRIDE_F(norm, normal->stride); in build_f2()
283 const GLfloat *norm = normal->start; in texgen_normal_map_nv() local
285 for (i=0;i<count;i++, STRIDE_F(norm, normal->stride)) { in texgen_normal_map_nv()
286 texcoord[i][0] = norm[0]; in texgen_normal_map_nv()
287 texcoord[i][1] = norm[1]; in texgen_normal_map_nv()
288 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()