Lines Matching refs:sPlane
313 static GLfloat sPlane[4] = { 1, 0, 0, 0 };
318 glTexGenfv(GL_S, GL_EYE_PLANE, sPlane);
345 GLfloat sPlane[4];
361 sPlane[0] = lightDir[0] / d / m;
362 sPlane[1] = lightDir[1] / d / m;
363 sPlane[2] = lightDir[2] / d / m;
364 sPlane[3] = -(sPlane[0] * nearPoint[0]
365 + sPlane[1] * nearPoint[1]
366 + sPlane[2] * nearPoint[2]);
368 glTexGenfv(GL_S, GL_EYE_PLANE, sPlane);