Lines Matching refs:i
127 for (int i = 0; i < 128; i++) in DefaultGasObject() local
129 gas->fogTable[i]= 1.0f - exp(-4.0f * xt); in DefaultGasObject()
133 for (int i = 0; i < 128; i++) in DefaultGasObject() local
135 gas->fogTable[128 + i] = gas->fogTable[i + 1] - gas->fogTable[i]; in DefaultGasObject()
200 for (int i = 0; i < PARTICLE_PATTERNS; i++) in DefaultGasObject() local
203 glBindTexture(GL_TEXTURE_2D, gas->pattern[i]); in DefaultGasObject()
206 loadTexture(particle_files[i], GL_TEXTURE_2D, 0, alpha); in DefaultGasObject()
215 for(int i = 0; i < 8; i++) in SetGasColorTable() local
217 gas->RR[i] = gasColorTable[3 * i + 0]; in SetGasColorTable()
218 gas->GG[i] = gasColorTable[3 * i + 1]; in SetGasColorTable()
219 gas->BB[i] = gasColorTable[3 * i + 2]; in SetGasColorTable()
221 gas->RR[8 + i] = gasColorTable[3 * (i + 1) + 0] - gasColorTable[3 * i + 0]; in SetGasColorTable()
222 gas->GG[8 + i] = gasColorTable[3 * (i + 1) + 1] - gasColorTable[3 * i + 1]; in SetGasColorTable()
223 gas->BB[8 + i] = gasColorTable[3 * (i + 1) + 2] - gasColorTable[3 * i + 2]; in SetGasColorTable()