Lines Matching refs:theta

70     s32         theta;  member
264 sc->lightEnv.light[i].theta = 0; in DrawInit()
387 lo[sc->cur].theta += ( DEMOPadGetStickX(0) / 32 ); in AnimTick()
388 Clamp(lo[sc->cur].theta, -60, 60); in AnimTick()
494 f32 theta, phi, s; in CreateTessPanel() local
517 theta = (f32)ix * 2.0F * PI / 15.0F; in CreateTessPanel()
518 s = sqrtf( 1.0F + cosf(theta) * cosf(theta) ); in CreateTessPanel()
519 pz = sinf(theta); in CreateTessPanel()
520 nx = - cosf(theta) / s; in CreateTessPanel()
526 theta = (f32)ix * 4.0F * PI / 15.0F; in CreateTessPanel()
527 s = sqrtf( 1.0F + cosf(theta) * cosf(theta) ); in CreateTessPanel()
528 pz = sinf(theta); in CreateTessPanel()
529 nx = - cosf(theta) / s; in CreateTessPanel()
535 theta = (f32)ix * 4.0F * PI / 15.0F; 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()
546 theta = (f32)ix / 15.0F - 0.5F; in CreateTessPanel()
547 pz = 4.0F * theta * theta; in CreateTessPanel()
548 s = sqrtf( 1.0F + 64.0F * theta * theta ); in CreateTessPanel()
549 nx = - (f32)theta * 8.0F / s; in CreateTessPanel()
555 theta = (f32)iy / 15.0F - 0.5F; in CreateTessPanel()
556 pz = 0.25F - 4.0F * theta * theta; in CreateTessPanel()
557 s = sqrtf( 1.0F + 64.0F * theta * theta ); in CreateTessPanel()
559 ny = (f32)theta * 8.0F / s; in CreateTessPanel()
635 f32 theta, phi, len; in DrawLightMark() local
638 theta = (f32)light->theta * PI / 180.0F; in DrawLightMark()
640 ldir.x = sinf(theta); in DrawLightMark()
641 ldir.y = sinf(phi) * cosf(theta); in DrawLightMark()
642 ldir.z = cosf(phi) * cosf(theta); in DrawLightMark()
720 f32 theta, phi; in SetLight() local
729 theta = (f32)le->light[i].theta * PI / 180.0F; in SetLight()
731 ldir.x = sinf(theta); in SetLight()
732 ldir.y = sinf(phi) * cosf(theta); in SetLight()
733 ldir.z = - cosf(phi) * cosf(theta); in SetLight()