Home
last modified time | relevance | path

Searched refs:gasColorTable (Results 1 – 11 of 11) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasCessna/
DGas.cpp89 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()
DGas.h76 void DefaultGasObject(struct gas_data *gas,float *gasColorTable);
79 void SetGasColorTable(struct gas_data *gas,float *gasColorTable);
DGasData.cpp13 GLfloat gasColorTable[6][24]= variable
DGasCessna.cpp45 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/
DGas.cpp104 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()
DGas.h93 void DefaultGasObject(struct gas_data *gas,float *gasColorTable);
96 void SetGasColorTable(struct gas_data *gas,float *gasColorTable);
DPartsysGas.cpp64 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/
DGas.cpp101 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()
DGas.h95 void DefaultGasObject(struct gas_data *gas,float *gasColorTable);
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorOptimal/
DGas.cpp113 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()
DGas.h94 void DefaultGasObject(struct gas_data *gas,float *gasColorTable);