Lines Matching refs:theta
67 s32 theta; member
331 sc->light.theta = 0; in DrawInit()
413 MTXRotDeg(mr, 'y', sc->light.theta); in DrawTick()
442 sc->light.theta += ( DEMOPadGetStickX(0) / 24 ); in AnimTick()
443 sc->light.theta = sc->light.theta % 360; in AnimTick()
565 f32 theta, phi; in SetLight() local
568 theta = (f32)light->theta * PI / 180.0F; in SetLight()
570 lpos.x = 1000.0F * cosf(phi) * sinf(theta); in SetLight()
572 lpos.z = 1000.0F * cosf(phi) * cosf(theta); in SetLight()
664 f32 theta, phi, scale; in SetTexGenMtx1() local
669 theta = sc->light.theta * PI / 180.0F; in SetTexGenMtx1()
671 vlight.x = - cosf(phi) * sinf(theta); in SetTexGenMtx1()
673 vlight.z = - cosf(phi) * cosf(theta); in SetTexGenMtx1()
718 f32 theta, phi, scale, dotp, r; in SetTexGenMtx2() local
723 theta = sc->light.theta * PI / 180.0F; in SetTexGenMtx2()
725 vlight.x = cosf(phi) * sinf(theta); in SetTexGenMtx2()
727 vlight.z = cosf(phi) * cosf(theta); in SetTexGenMtx2()