| /RvlSDK-3.1.4/build/demos/gxdemo/src/Lighting/ |
| D | lit-tx-alpha.c | 411 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 …]
|
| D | lit-spot.c | 518 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 …]
|
| D | lit-unclamp.c | 464 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight() 466 lpos.z = 500.0F * cosf(phi) * cosf(theta); in SetLight()
|
| D | lit-specular.c | 536 ldir.x = - 1.0F * cosf(phi) * sinf(theta); in SetLight() 538 ldir.z = - 1.0F * cosf(phi) * cosf(theta); in SetLight()
|
| D | lit-cartoon.c | 494 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight() 496 lpos.z = 500.0F * cosf(phi) * cosf(theta); in SetLight()
|
| D | lit-texture.c | 539 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight() 541 lpos.z = 500.0F * cosf(phi) * cosf(theta); in SetLight()
|
| D | lit-multi.c | 647 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight() 649 lpos.z = 500.0F * cosf(phi) * cosf(theta); in SetLight()
|
| D | lit-alpha.c | 534 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/ |
| D | gd-light-gc.c | 160 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()
|
| D | gd-tev-gc.c | 410 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/ |
| D | tg-light-fx.c | 570 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()
|
| D | spheremap.c | 119 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()
|
| D | parabolicmap.c | 147 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()
|
| D | tg-dual.c | 423 cam->distance * sinf(r_theta) * cosf(r_phi); in SetCamera() 427 cam->distance * cosf(r_theta) * cosf(r_phi); in SetCamera()
|
| D | tg-shadow.c | 579 cam->distance * cosf(r_theta) * cosf(r_phi); in SetCamera() 581 cam->distance * sinf(r_theta) * cosf(r_phi); in SetCamera()
|
| D | tg-shadow2.c | 750 cam->distance * cosf(r_theta) * cosf(r_phi); in SetCamera() 752 cam->distance * sinf(r_theta) * cosf(r_phi); in SetCamera()
|
| D | tg-shadow3.c | 778 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/ |
| D | tev-complex.c | 535 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/ |
| D | ind-bump-st.c | 131 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()
|
| D | ind-tile-test.c | 346 dy = cosf(rAng / 180.0f * PI) * 0.01f; in AnimTick()
|
| /RvlSDK-3.1.4/build/demos/gxdemo/src/Framebuffer/ |
| D | frb-zcopy.c | 277 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/ |
| D | pix-sub.c | 253 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()
|
| D | cmn-model.c | 195 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/ |
| D | GDLight.c | 45 #define cosf (float)cos macro 99 cr = cosf(r); in GDSetLightSpot()
|
| /RvlSDK-3.1.4/build/demos/gxdemo/src/DisplayList/ |
| D | DL-geom.c | 533 f32 z0 = cosf(a); in MyCreateSphere() 538 f32 x = cosf(c); in MyCreateSphere()
|