Home
last modified time | relevance | path

Searched refs:SCALE_Q (Results 1 – 3 of 3) sorted by relevance

/RvlSDK-3.2.2/build/demos/gxdemo/src/Tev/
Dtev-complex.c497 #define SCALE_Q 0x2000 in CreateModel() macro
526 mo->tcdArray[cnt_t++] = (s16)(i * SCALE_Q / mo->numDiv0); in CreateModel()
527 mo->tcdArray[cnt_t++] = (s16)(j * SCALE_Q / mo->numDiv1); in CreateModel()
537 mo->posArray[cnt_p++] = (s16)(fr * cosf(ft) * SCALE_Q); in CreateModel()
538 mo->posArray[cnt_p++] = (s16)(fr * sinf(ft) * SCALE_Q); in CreateModel()
539 mo->posArray[cnt_p++] = (s16)(MODEL_R * sinf(fs) * SCALE_Q); in CreateModel()
542 mo->nrmArray[cnt_n++] = (s16)(cosf(ft) * cosf(fs) * SCALE_Q); in CreateModel()
543 mo->nrmArray[cnt_n++] = (s16)(sinf(ft) * cosf(fs) * SCALE_Q); in CreateModel()
544 mo->nrmArray[cnt_n++] = (s16)(sinf(fs) * SCALE_Q); in CreateModel()
547 mo->nrmArray[cnt_n++] = (s16)(-cosf(ft) * sinf(fs) * SCALE_Q); in CreateModel()
[all …]
/RvlSDK-3.2.2/build/demos/gddemo/src/
Dgd-light-gc.c162 VtxPosArray[cnt_p++] = (s16)(fr * cosf(ft) * SCALE_Q); in CreateModelVtxArray()
163 VtxPosArray[cnt_p++] = (s16)(fr * sinf(ft) * SCALE_Q); in CreateModelVtxArray()
164 VtxPosArray[cnt_p++] = (s16)(MODEL_R * sinf(fs) * SCALE_Q); in CreateModelVtxArray()
167 VtxNrmArray[cnt_n++] = (s16)(cosf(ft) * cosf(fs) * SCALE_Q); in CreateModelVtxArray()
168 VtxNrmArray[cnt_n++] = (s16)(sinf(ft) * cosf(fs) * SCALE_Q); in CreateModelVtxArray()
169 VtxNrmArray[cnt_n++] = (s16)(sinf(fs) * SCALE_Q); in CreateModelVtxArray()
/RvlSDK-3.2.2/build/demos/gddemo/include/
Dgd-light.h46 #define SCALE_Q (1<<QUANTIZE) macro