Lines Matching refs:fog
96 c->fog.mode = GL_EXP; in ogles_init_light()
97 c->fog.fog = fog_exp; in ogles_init_light()
98 c->fog.density = 0x10000; in ogles_init_light()
99 c->fog.end = 0x10000; in ogles_init_light()
100 c->fog.invEndMinusStart = 0x10000; in ogles_init_light()
121 return clampF(gglMulx((c->fog.end - ((z<0)?-z:z)), c->fog.invEndMinusStart)); in fog_linear()
125 const float e = fixedToFloat(gglMulx(c->fog.density, ((z<0)?-z:z))); in fog_exp()
130 const float e = fixedToFloat(gglMulx(c->fog.density, z)); in fog_exp2()
583 c->fog.density = param; in fogx()
589 c->fog.start = param; in fogx()
590 c->fog.invEndMinusStart = gglRecip(c->fog.end - c->fog.start); in fogx()
593 c->fog.end = param; in fogx()
594 c->fog.invEndMinusStart = gglRecip(c->fog.end - c->fog.start); in fogx()
599 c->fog.mode = param; in fogx()
600 c->fog.fog = fog_linear; in fogx()
603 c->fog.mode = param; in fogx()
604 c->fog.fog = fog_exp; in fogx()
607 c->fog.mode = param; in fogx()
608 c->fog.fog = fog_exp2; in fogx()
840 #pragma mark fog