Lines Matching refs:i
112 for (int i = 0; i < 128; i++) in DefaultGasObject() local
114 gas->fogTable[i]= 1.0f - exp(-8.0f * xt); in DefaultGasObject()
118 for (int i = 0; i < 128; i++) in DefaultGasObject() local
120 gas->fogTable[128 + i] = gas->fogTable[i + 1] - gas->fogTable[i]; in DefaultGasObject()
185 for (int i = 0; i < PARTICLE_PATTERNS; i++) in DefaultGasObject() local
188 glBindTexture(GL_TEXTURE_2D, gas->pattern[i]); in DefaultGasObject()
191 loadTexture(particle_files[i], GL_TEXTURE_2D, 0, alpha); in DefaultGasObject()
201 for(int i = 0; i < 8; i++) in SetGasColorTable() local
203 gas->RR[i] = gasColorTable[3 * i + 0]; in SetGasColorTable()
204 gas->GG[i] = gasColorTable[3 * i + 1]; in SetGasColorTable()
205 gas->BB[i] = gasColorTable[3 * i + 2]; in SetGasColorTable()
207 gas->RR[8 + i] = gasColorTable[3 * (i + 1) + 0] - gasColorTable[3 * i + 0]; in SetGasColorTable()
208 gas->GG[8 + i] = gasColorTable[3 * (i + 1) + 1] - gasColorTable[3 * i + 1]; in SetGasColorTable()
209 gas->BB[8 + i] = gasColorTable[3 * (i + 1) + 2] - gasColorTable[3 * i + 2]; in SetGasColorTable()