Searched refs:SCALE_Q (Results 1 – 3 of 3) sorted by relevance
497 #define SCALE_Q 0x2000 in CreateModel() macro526 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 …]
162 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()
46 #define SCALE_Q (1<<QUANTIZE) macro