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()
584 c->fog.density = param; in fogx()
590 c->fog.start = param; in fogx()
591 c->fog.invEndMinusStart = gglRecip(c->fog.end - c->fog.start); in fogx()
594 c->fog.end = param; in fogx()
595 c->fog.invEndMinusStart = gglRecip(c->fog.end - c->fog.start); in fogx()
600 c->fog.mode = param; in fogx()
601 c->fog.fog = fog_linear; in fogx()
604 c->fog.mode = param; in fogx()
605 c->fog.fog = fog_exp; in fogx()
608 c->fog.mode = param; in fogx()
609 c->fog.fog = fog_exp2; in fogx()
841 #pragma mark fog