Searched refs:gasColorTable (Results 1 – 11 of 11) sorted by relevance
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasCessna/ |
| D | Gas.cpp | 89 void DefaultGasObject(struct gas_data *gas, float *gasColorTable) in DefaultGasObject() argument 133 SetGasColorTable(gas,gasColorTable); in DefaultGasObject() 198 void SetGasColorTable(struct gas_data *gas, float *gasColorTable) in SetGasColorTable() argument 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()
|
| D | Gas.h | 76 void DefaultGasObject(struct gas_data *gas,float *gasColorTable); 79 void SetGasColorTable(struct gas_data *gas,float *gasColorTable);
|
| D | GasData.cpp | 13 GLfloat gasColorTable[6][24]= variable
|
| D | GasCessna.cpp | 45 extern float gasColorTable[6][24]; 127 DefaultGasObject(&gas, gasColorTable[0]); in SceneObjectInitialize() 373 SetGasColorTable(&gas,gasColorTable[gas_pattern]); in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/PartsysGas/ |
| D | Gas.cpp | 104 void DefaultGasObject(struct gas_data *gas, float *gasColorTable) in DefaultGasObject() argument 148 SetGasColorTable(gas,gasColorTable); in DefaultGasObject() 212 void SetGasColorTable(struct gas_data *gas, float *gasColorTable) in SetGasColorTable() argument 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()
|
| D | Gas.h | 93 void DefaultGasObject(struct gas_data *gas,float *gasColorTable); 96 void SetGasColorTable(struct gas_data *gas,float *gasColorTable);
|
| D | PartsysGas.cpp | 64 static float gasColorTable[NUM_COLOR_SAMPLE][24]= variable 263 DefaultGasObject(&gas, gasColorTable[0]); in SceneObjectInitialize() 424 SetGasColorTable(&gas,gasColorTable[pattern % NUM_COLOR_SAMPLE]); in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorSimple/ |
| D | Gas.cpp | 101 void DefaultGasObject(struct gas_data *gas, float *gasColorTable) in DefaultGasObject() argument 147 gas->RR[i] = gasColorTable[3 * i + 0]; in DefaultGasObject() 148 gas->GG[i] = gasColorTable[3 * i + 1]; in DefaultGasObject() 149 gas->BB[i] = gasColorTable[3 * i + 2]; in DefaultGasObject() 151 gas->RR[8 + i] = gasColorTable[3 * (i + 1) + 0] - gasColorTable[3 * i + 0]; in DefaultGasObject() 152 gas->GG[8 + i] = gasColorTable[3 * (i + 1) + 1] - gasColorTable[3 * i + 1]; in DefaultGasObject() 153 gas->BB[8 + i] = gasColorTable[3 * (i + 1) + 2] - gasColorTable[3 * i + 2]; in DefaultGasObject()
|
| D | Gas.h | 95 void DefaultGasObject(struct gas_data *gas,float *gasColorTable);
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorOptimal/ |
| D | Gas.cpp | 113 void DefaultGasObject(struct gas_data *gas, float *gasColorTable) in DefaultGasObject() argument 159 gas->RR[i] = gasColorTable[3 * i + 0]; in DefaultGasObject() 160 gas->GG[i] = gasColorTable[3 * i + 1]; in DefaultGasObject() 161 gas->BB[i] = gasColorTable[3 * i + 2]; in DefaultGasObject() 163 gas->RR[8 + i] = gasColorTable[3 * (i + 1) + 0] - gasColorTable[3 * i + 0]; in DefaultGasObject() 164 gas->GG[8 + i] = gasColorTable[3 * (i + 1) + 1] - gasColorTable[3 * i + 1]; in DefaultGasObject() 165 gas->BB[8 + i] = gasColorTable[3 * (i + 1) + 2] - gasColorTable[3 * i + 2]; in DefaultGasObject()
|
| D | Gas.h | 94 void DefaultGasObject(struct gas_data *gas,float *gasColorTable);
|