| /RvlSDK-2.1/build/demos/gddemo/src/ |
| D | gd-light-gc.c | 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() 168 VtxNrmArray[cnt_n++] = (s16)(sinf(ft) * cosf(fs) * SCALE_Q); in CreateModelVtxArray() 169 VtxNrmArray[cnt_n++] = (s16)(sinf(fs) * SCALE_Q); in CreateModelVtxArray() 411 Light1Dir.x = - cosf(f_phi) * sinf(f_theta); in AnimTick() 412 Light1Dir.y = - sinf(f_phi); in AnimTick()
|
| D | gd-tev-gc.c | 410 ldir.x = - cosf(phi) * sinf(theta); in SetLight() 411 ldir.y = - sinf(phi); in SetLight() 634 dzdt = MODEL_ZSCALE * PI * -sinf(theta) * cp; in CreateModelVtxArray() 635 dzdp = MODEL_ZSCALE * PI * -sinf(phi) * ct; in CreateModelVtxArray()
|
| /RvlSDK-2.1/build/demos/gxdemo/src/Lighting/ |
| D | lit-tx-alpha.c | 412 pz = sinf(theta); in CreateTessPanel() 421 pz = sinf(theta); 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() 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() 613 dy = sinf(phi); in SetLight()
|
| D | lit-spot.c | 519 pz = sinf(theta); in CreateTessPanel() 528 pz = sinf(theta); 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() 540 nx = sinf(theta) * cosf(phi) / s; in CreateTessPanel() 541 ny = cosf(theta) * sinf(phi) / s; in CreateTessPanel() 640 ldir.x = sinf(theta); in DrawLightMark() 641 ldir.y = sinf(phi) * cosf(theta); in DrawLightMark() 731 ldir.x = sinf(theta); in SetLight() 732 ldir.y = sinf(phi) * cosf(theta); in SetLight()
|
| D | lit-unclamp.c | 464 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight() 465 lpos.y = 500.0F * sinf(phi); in SetLight()
|
| D | lit-cartoon.c | 494 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight() 495 lpos.y = 500.0F * sinf(phi); in SetLight()
|
| D | lit-specular.c | 536 ldir.x = - 1.0F * cosf(phi) * sinf(theta); in SetLight() 537 ldir.y = - 1.0F * sinf(phi); in SetLight()
|
| D | lit-texture.c | 539 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight() 540 lpos.y = 500.0F * sinf(phi); in SetLight()
|
| D | lit-multi.c | 647 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight() 648 lpos.y = 500.0F * sinf(phi); in SetLight()
|
| D | lit-alpha.c | 534 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight() 535 lpos.y = 500.0F * sinf(phi); in SetLight()
|
| /RvlSDK-2.1/build/demos/gxdemo/src/TexGen/ |
| D | spheremap.c | 118 r2 = r*sinf(theta); in genMapSphere() 126 n2y = r2*sinf(phi); in genMapSphere() 138 r1 = r*sinf(M_PI*(i-1)/nlat); in genMapSphere() 140 r2 = r*sinf(theta); in genMapSphere() 156 n2y = r2*sinf(phi); in genMapSphere() 160 n1y = r1*sinf(phi); in genMapSphere()
|
| D | parabolicmap.c | 146 r2 = r*sinf(theta); in genMapSphere() 155 n2y = r2*sinf(phi); in genMapSphere() 167 r1 = r*sinf(M_PI*(i-1)/nlat); in genMapSphere() 169 r2 = r*sinf(theta); in genMapSphere() 185 n2y = r2*sinf(phi); in genMapSphere() 189 n1y = r1*sinf(phi); in genMapSphere()
|
| D | tg-light-fx.c | 570 lpos.x = 1000.0F * cosf(phi) * sinf(theta); in SetLight() 571 lpos.y = 1000.0F * sinf(phi); in SetLight() 671 vlight.x = - cosf(phi) * sinf(theta); in SetTexGenMtx1() 672 vlight.y = - sinf(phi); in SetTexGenMtx1() 725 vlight.x = cosf(phi) * sinf(theta); in SetTexGenMtx2() 726 vlight.y = sinf(phi); in SetTexGenMtx2()
|
| D | tg-shadow.c | 297 zt = 100.0F * sinf(sc->modelZ * PI / 180.0F) + 500.0F; in DrawTick() 581 cam->distance * sinf(r_theta) * cosf(r_phi); in SetCamera() 583 cam->distance * sinf(r_phi); in SetCamera()
|
| D | tg-dual.c | 423 cam->distance * sinf(r_theta) * cosf(r_phi); in SetCamera() 425 cam->distance * sinf(r_phi); in SetCamera()
|
| /RvlSDK-2.1/build/demos/gxdemo/src/Tev/ |
| D | tev-complex.c | 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() 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() 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() 670 ldir.x = - cosf(phi) * sinf(theta); in SetLight() 671 ldir.y = - sinf(phi); in SetLight()
|
| D | tev-multi.c | 716 ss = ( sinf(st) + 1.0F ) * 1.5F + 1.0F; in AnimTexMtx() 721 ss = ( sinf(st) + 1.0F ) * 2.0F + 0.5F; in AnimTexMtx() 743 ss = ( sinf(st) + 1.5F ) * 0.5F; in AnimTexMtx()
|
| /RvlSDK-2.1/build/demos/gxdemo/src/Indirect/ |
| D | ind-bump-st.c | 132 result.y = (R1 - (R2*cosf(angle2))) * sinf(angle1); in donutCoord() 133 result.z = R2 * sinf(angle2); in donutCoord() 136 result.ny = - cosf(angle2) * sinf(angle1); in donutCoord() 137 result.nz = sinf(angle2); in donutCoord() 139 result.bx = - sinf(angle1); in donutCoord() 143 result.tx = sinf(angle2) * cosf(angle1); in donutCoord() 144 result.ty = sinf(angle2) * sinf(angle1); in donutCoord()
|
| D | ind-warp.c | 226 dy = (f32) nJ / HEIGHT_LYR1 * sinf(rot); in TexUpdate() 247 di = sinf(di * freq + phase); in TexUpdate()
|
| /RvlSDK-2.1/build/libraries/mtx/src/ |
| D | quat.c | 659 scale = (f32)sinf(theta)/theta; in C_QUATExp() 770 sh = sinf(half); in C_QUATRotAxisRad() 891 sin_th = sinf(theta); in C_QUATSlerp() 892 tp = sinf((1.0F - t) * theta) / sin_th; in C_QUATSlerp() 893 tq *= sinf( t * theta ) / sin_th; in C_QUATSlerp()
|
| /RvlSDK-2.1/include/win32/ |
| D | win32.h | 28 #define sinf (float)sin macro
|
| /RvlSDK-2.1/build/demos/gxdemo/src/PixelProc/ |
| D | pix-sub.c | 254 DefaultBallPos[i].y = sinf(MTXDegToRad(deg)) * BALL_ORBIT; in DrawInit() 722 cam->distance * sinf(r_theta) * cosf(r_phi); in SetCamera() 724 cam->distance * sinf(r_phi); in SetCamera()
|
| /RvlSDK-2.1/build/demos/gxdemo/src/Framebuffer/ |
| D | frb-zcopy.c | 277 camPos.x = cosf(r_phi) * sinf(r_theta); in DrawTick() 278 camPos.y = sinf(r_phi); in DrawTick()
|
| /RvlSDK-2.1/build/demos/gxdemo/src/DisplayList/ |
| D | DL-tf-mtx.c | 341 dir0 = 7.5F * sinf((f32)AnimCounter * 3.1415F / 90) + 2.5F; in AnimTick() 342 dir1 = 1.0F * sinf((f32)AnimCounter * 3.1415F / 45); in AnimTick()
|
| D | DL-geom.c | 532 f32 r0 = sinf(a); in MyCreateSphere() 539 f32 y = sinf(c); in MyCreateSphere()
|