Home
last modified time | relevance | path

Searched refs:cosf (Results 1 – 25 of 39) sorted by relevance

12

/RvlSDK-3.1.4/build/demos/gxdemo/src/Lighting/
Dlit-tx-alpha.c411 s = sqrtf( 1 + cosf(theta) * cosf(theta) ); in CreateTessPanel()
413 nx = - cosf(theta) / s; in CreateTessPanel()
420 s = sqrtf( 1.0F + cosf(theta) * cosf(theta) ); in CreateTessPanel()
422 nx = - cosf(theta) / s; in CreateTessPanel()
430 s = sqrtf( 1.0F + cosf(theta) * cosf(theta) * sinf(phi) * sinf(phi) ) in CreateTessPanel()
431 * sqrtf( 1.0F + sinf(theta) * sinf(theta) * cosf(phi) * cosf(phi) ); in CreateTessPanel()
432 pz = cosf(theta) * cosf(phi); in CreateTessPanel()
433 nx = sinf(theta) * cosf(phi) / s; in CreateTessPanel()
434 ny = cosf(theta) * sinf(phi) / s; in CreateTessPanel()
612 dx = cosf(phi) * sinf(theta); in SetLight()
[all …]
Dlit-spot.c518 s = sqrtf( 1.0F + cosf(theta) * cosf(theta) ); in CreateTessPanel()
520 nx = - cosf(theta) / s; in CreateTessPanel()
527 s = sqrtf( 1.0F + cosf(theta) * cosf(theta) ); in CreateTessPanel()
529 nx = - cosf(theta) / s; in CreateTessPanel()
537 s = sqrtf( 1.0F + cosf(theta) * cosf(theta) * sinf(phi) * sinf(phi) ) in CreateTessPanel()
538 * sqrtf( 1.0F + sinf(theta) * sinf(theta) * cosf(phi) * cosf(phi) ); in CreateTessPanel()
539 pz = cosf(theta) * cosf(phi); in CreateTessPanel()
540 nx = sinf(theta) * cosf(phi) / s; in CreateTessPanel()
541 ny = cosf(theta) * sinf(phi) / s; in CreateTessPanel()
641 ldir.y = sinf(phi) * cosf(theta); in DrawLightMark()
[all …]
Dlit-unclamp.c464 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight()
466 lpos.z = 500.0F * cosf(phi) * cosf(theta); in SetLight()
Dlit-specular.c536 ldir.x = - 1.0F * cosf(phi) * sinf(theta); in SetLight()
538 ldir.z = - 1.0F * cosf(phi) * cosf(theta); in SetLight()
Dlit-cartoon.c494 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight()
496 lpos.z = 500.0F * cosf(phi) * cosf(theta); in SetLight()
Dlit-texture.c539 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight()
541 lpos.z = 500.0F * cosf(phi) * cosf(theta); in SetLight()
Dlit-multi.c647 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight()
649 lpos.z = 500.0F * cosf(phi) * cosf(theta); in SetLight()
Dlit-alpha.c534 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight()
536 lpos.z = 500.0F * cosf(phi) * cosf(theta); in SetLight()
/RvlSDK-3.1.4/build/demos/gddemo/src/
Dgd-light-gc.c160 fr = 1.0F + MODEL_R * cosf(fs); in CreateModelVtxArray()
162 VtxPosArray[cnt_p++] = (s16)(fr * cosf(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()
411 Light1Dir.x = - cosf(f_phi) * sinf(f_theta); in AnimTick()
413 Light1Dir.z = - cosf(f_phi) * cosf(f_theta); in AnimTick()
Dgd-tev-gc.c410 ldir.x = - cosf(phi) * sinf(theta); in SetLight()
412 ldir.z = - cosf(phi) * cosf(theta); in SetLight()
631 ct = cosf(theta); in CreateModelVtxArray()
632 cp = cosf(phi); in CreateModelVtxArray()
/RvlSDK-3.1.4/build/demos/gxdemo/src/TexGen/
Dtg-light-fx.c570 lpos.x = 1000.0F * cosf(phi) * sinf(theta); in SetLight()
572 lpos.z = 1000.0F * cosf(phi) * cosf(theta); in SetLight()
671 vlight.x = - cosf(phi) * sinf(theta); in SetTexGenMtx1()
673 vlight.z = - cosf(phi) * cosf(theta); in SetTexGenMtx1()
725 vlight.x = cosf(phi) * sinf(theta); in SetTexGenMtx2()
727 vlight.z = cosf(phi) * cosf(theta); in SetTexGenMtx2()
Dspheremap.c119 z2 = r*cosf(theta); in genMapSphere()
125 n2x = r2*cosf(phi); in genMapSphere()
139 z1 = r*cosf(M_PI*(i-1)/nlat); in genMapSphere()
141 z2 = r*cosf(theta); in genMapSphere()
155 n2x = r2*cosf(phi); in genMapSphere()
159 n1x = r1*cosf(phi); in genMapSphere()
Dparabolicmap.c147 z2 = r*cosf(theta); in genMapSphere()
154 n2x = r2*cosf(phi); in genMapSphere()
168 z1 = r*cosf(M_PI*(i-1)/nlat); in genMapSphere()
170 z2 = r*cosf(theta); in genMapSphere()
184 n2x = r2*cosf(phi); in genMapSphere()
188 n1x = r1*cosf(phi); in genMapSphere()
Dtg-dual.c423 cam->distance * sinf(r_theta) * cosf(r_phi); in SetCamera()
427 cam->distance * cosf(r_theta) * cosf(r_phi); in SetCamera()
Dtg-shadow.c579 cam->distance * cosf(r_theta) * cosf(r_phi); in SetCamera()
581 cam->distance * sinf(r_theta) * cosf(r_phi); in SetCamera()
Dtg-shadow2.c750 cam->distance * cosf(r_theta) * cosf(r_phi); in SetCamera()
752 cam->distance * sinf(r_theta) * cosf(r_phi); in SetCamera()
Dtg-shadow3.c778 dx[i] = cosf(dr); in DrawSpiral()
923 cam->distance * cosf(r_theta) * cosf(r_phi); in SetCamera()
925 cam->distance * sinf(r_theta) * cosf(r_phi); in SetCamera()
/RvlSDK-3.1.4/build/demos/gxdemo/src/Tev/
Dtev-complex.c535 fr = 1.0F + MODEL_R * cosf(fs); in CreateModel()
537 mo->posArray[cnt_p++] = (s16)(fr * cosf(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()
549 mo->nrmArray[cnt_n++] = (s16)( cosf(fs) * SCALE_Q); in CreateModel()
553 mo->nrmArray[cnt_n++] = (s16)( cosf(ft) * SCALE_Q); in CreateModel()
670 ldir.x = - cosf(phi) * sinf(theta); in SetLight()
672 ldir.z = - cosf(phi) * cosf(theta); in SetLight()
/RvlSDK-3.1.4/build/demos/gxdemo/src/Indirect/
Dind-bump-st.c131 result.x = (R1 - (R2*cosf(angle2))) * cosf(angle1); in donutCoord()
132 result.y = (R1 - (R2*cosf(angle2))) * sinf(angle1); in donutCoord()
135 result.nx = - cosf(angle2) * cosf(angle1); in donutCoord()
136 result.ny = - cosf(angle2) * sinf(angle1); in donutCoord()
140 result.by = cosf(angle1); in donutCoord()
143 result.tx = sinf(angle2) * cosf(angle1); in donutCoord()
145 result.tz = cosf(angle2); in donutCoord()
Dind-tile-test.c346 dy = cosf(rAng / 180.0f * PI) * 0.01f; in AnimTick()
/RvlSDK-3.1.4/build/demos/gxdemo/src/Framebuffer/
Dfrb-zcopy.c277 camPos.x = cosf(r_phi) * sinf(r_theta); in DrawTick()
279 camPos.z = cosf(r_phi) * cosf(r_theta); in DrawTick()
/RvlSDK-3.1.4/build/demos/gxdemo/src/PixelProc/
Dpix-sub.c253 DefaultBallPos[i].x = cosf(MTXDegToRad(deg)) * BALL_ORBIT; in DrawInit()
720 cam->distance * cosf(r_theta) * cosf(r_phi); in SetCamera()
722 cam->distance * sinf(r_theta) * cosf(r_phi); in SetCamera()
Dcmn-model.c195 dz = cosf(ang); in cmModel1_Anim()
537 obj3[i].ang += obj3[i].avel * cosf( obj3[i].r * PAI / 180.0f ); in cmModel3_Anim()
592 cs = cosf( obj3[i].ang * PAI / 180.0f ); in cmModel3_Draw()
/RvlSDK-3.1.4/build/libraries/gd/src/
DGDLight.c45 #define cosf (float)cos macro
99 cr = cosf(r); in GDSetLightSpot()
/RvlSDK-3.1.4/build/demos/gxdemo/src/DisplayList/
DDL-geom.c533 f32 z0 = cosf(a); in MyCreateSphere()
538 f32 x = cosf(c); in MyCreateSphere()

12