Lines Matching refs:lighting
113 c->lighting.lightVertex(c, v0);
115 c->lighting.lightVertex(c, v1);
117 c->lighting.lightVertex(c, v2);
124 c->lighting.lightVertex(c, v2);
155 c->lighting.lightVertex(c, v);
216 // set up the lighting/shading/smoothing/fogging function
218 index |= c->lighting.enable ? 0x2 : 0;
220 c->lighting.lightTriangle = lightPrimitive[index];
461 // lighting & clamping...
465 if (c->lighting.enable) {
466 c->lighting.lightVertex(c, v);
479 // if color array and lighting not enabled
538 c->lighting.lightTriangle(c, v0, v1, v1);
592 c->lighting.lightTriangle(c, v0, v1, v2);
607 c->lighting.lightTriangle(c, v0, v1, v2);