Lines Matching refs:cam
76 MyCameraObj cam; member
92 static void SetCamera ( MyCameraObj* cam );
327 sc->cam.cfg = DefaultCamera; in DrawInit()
328 SetCamera(&sc->cam); // never changes in this test in DrawInit()
363 SetLight(&sc->light, sc->cam.view); in DrawTick()
387 MTXConcat(sc->cam.view, sc->modelCtrl, mm); in DrawTick()
414 MTXConcat(sc->cam.view, mr, mv); in DrawTick()
533 static void SetCamera( MyCameraObj* cam ) in SetCamera() argument
536 cam->view, in SetCamera()
537 &cam->cfg.location, in SetCamera()
538 &cam->cfg.up, in SetCamera()
539 &cam->cfg.target ); in SetCamera()
542 cam->proj, in SetCamera()
543 cam->cfg.top, in SetCamera()
544 - (cam->cfg.top), in SetCamera()
545 cam->cfg.left, in SetCamera()
546 - (cam->cfg.left), in SetCamera()
547 cam->cfg.znear, in SetCamera()
548 cam->cfg.zfar ); in SetCamera()
549 GXSetProjection(cam->proj, GX_PERSPECTIVE); in SetCamera()
635 MTXConcat(mt, sc->cam.view, mt); in SetTexGenMtx0()
676 MTXMultVecSR(sc->cam.view, &vlight, &vlight); in SetTexGenMtx1()
682 MTXConcat(sc->cam.view, sc->modelCtrl, mt); in SetTexGenMtx1()
730 MTXMultVecSR(sc->cam.view, &vlight, &vlight); in SetTexGenMtx2()
749 MTXConcat(sc->cam.view, sc->modelCtrl, mv); in SetTexGenMtx2()