Home
last modified time | relevance | path

Searched refs:ft (Results 1 – 2 of 2) sorted by relevance

/RvlSDK-3.3/build/demos/gddemo/src/
Dgd-light-gc.c138 f32 fs, ft, fr; in CreateModelVtxArray() local
159 ft = j * PI_2 / MODEL_N1; in CreateModelVtxArray()
162 VtxPosArray[cnt_p++] = (s16)(fr * cosf(ft) * SCALE_Q); in CreateModelVtxArray()
163 VtxPosArray[cnt_p++] = (s16)(fr * sinf(ft) * 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()
/RvlSDK-3.3/build/demos/gxdemo/src/Tev/
Dtev-complex.c501 f32 fs, ft, fr; in CreateModel() local
534 ft = j * PI_2 / 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()
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()
547 mo->nrmArray[cnt_n++] = (s16)(-cosf(ft) * sinf(fs) * SCALE_Q); in CreateModel()
548 mo->nrmArray[cnt_n++] = (s16)(-sinf(ft) * sinf(fs) * SCALE_Q); in CreateModel()
552 mo->nrmArray[cnt_n++] = (s16)(-sinf(ft) * SCALE_Q); in CreateModel()
553 mo->nrmArray[cnt_n++] = (s16)( cosf(ft) * SCALE_Q); in CreateModel()