Lines Matching refs:i

137     int i;  in InitializeFogTable()  local
148 for (i = 0; i <= 128; i++) in InitializeFogTable()
150 v_clip.z = -(static_cast<f32>(i)) / 128; in InitializeFogTable()
155 Fog_c[i] = -(v_eye.z / v_eye.w); in InitializeFogTable()
158 for (i = 0; i < 128; i++) in InitializeFogTable()
160 Fog_LUT[i] = FogCoef(Fog_c[i]); in InitializeFogTable()
161 Fog_LUT[128 + i]= FogCoef(Fog_c[i + 1]) - FogCoef(Fog_c[i]); in InitializeFogTable()
188 for (int i = 0; i < 4; i++) in LoadObjects() local
190 s_VertexAllColor[4 * i + 0] = 1.0f; in LoadObjects()
191 s_VertexAllColor[4 * i + 1] = 0.0f; in LoadObjects()
192 s_VertexAllColor[4 * i + 2] = 0.0f; in LoadObjects()
193 s_VertexAllColor[4 * i + 3] = 1.0f; in LoadObjects()
211 for (int i = 0; i < 4; i++) in LoadObjects() local
213 s_VertexAllColor[16 + 4 * i + 0] = 1.0f; in LoadObjects()
214 s_VertexAllColor[16 + 4 * i + 1] = 1.0f; in LoadObjects()
215 s_VertexAllColor[16 + 4 * i + 2] = 0.0f; in LoadObjects()
216 s_VertexAllColor[16 + 4 * i + 3] = 1.0f; in LoadObjects()
234 for (int i = 0; i < 4; i++) in LoadObjects() local
236 s_VertexAllColor[32 + 4 * i + 0] = 1.0f; in LoadObjects()
237 s_VertexAllColor[32 + 4 * i + 1] = 0.0f; in LoadObjects()
238 s_VertexAllColor[32 + 4 * i + 2] = 1.0f; in LoadObjects()
239 s_VertexAllColor[32 + 4 * i + 3] = 1.0f; in LoadObjects()
258 for (int i = 0; i < 4; i++) in LoadObjects() local
260 s_VertexFogColor[4 * i + 0] = 0.0f; in LoadObjects()
261 s_VertexFogColor[4 * i + 1] = 0.0f; in LoadObjects()
262 s_VertexFogColor[4 * i + 2] = 1.0f; in LoadObjects()
263 s_VertexFogColor[4 * i + 3] = 1.0f; in LoadObjects()