Lines Matching refs:j
102 int j; in SetLutTable() local
110 for (j = 0; j < 256; j++) in SetLutTable()
111 lut[j] = 0.7f * z_schlick(0.7f, (float)j/256.f, true); in SetLutTable()
113 for (j = 0; j < 255; j++) in SetLutTable()
114 lut[j + 256] = lut[j+1] - lut[j]; in SetLutTable()
120 for (j = 0; j < 256; j++) in SetLutTable()
121 lut[j] = 0.7f * z_schlick(0.7f, (float)j/256.f, true); in SetLutTable()
123 for (j = 0; j < 255; j++) in SetLutTable()
124 lut[j + 256] = lut[j+1] - lut[j]; in SetLutTable()
130 for (j = 0; j < 256; j++) in SetLutTable()
131 lut[j] = z_schlick(0.5f, (float)j/256.f, true); in SetLutTable()
133 for (j = 0; j < 255; j++) in SetLutTable()
134 lut[j + 256] = lut[j+1] - lut[j]; in SetLutTable()
142 for (j = 0; j < 256; j++) in SetLutTable()
143 lut[j] = a_schlick(0.015f, (float)j/256.f, true); in SetLutTable()
145 for (j = 0; j < 255; j++) in SetLutTable()
146 lut[j + 256] = lut[j + 1] - lut[j]; in SetLutTable()
355 …for (unsigned j = kimono.obj[i].patch_offset; j < kimono.obj[i].patch_size + kimono.obj[i].patch_o… in DrawFrame() local
362 ma[col] = kimono.patch[j].ambient[col]; in DrawFrame()
363 md[col] = kimono.patch[j].diffuse[col]; in DrawFrame()
364 ms[col] = kimono.patch[j].specular[col]; in DrawFrame()
371 glDrawElements(GL_TRIANGLES, kimono.patch[j].elm_size, in DrawFrame()
372 … GL_UNSIGNED_SHORT, (GLvoid*)(kimono.patch[j].elm_offset + kimono.obj[i].elm_offset)); in DrawFrame()