Lines Matching refs:cfg
85 CameraConfig cfg; member
302 sc->cam.cfg = DefaultCamera; in DrawInit()
369 sc->light.cam.cfg = ( sc->projMode ) ? in DrawTick()
681 if ( cam->cfg.type == GX_PERSPECTIVE ) in GetTexProjMtx()
685 - (cam->cfg.top), // t = -y in projected texture in GetTexProjMtx()
686 cam->cfg.top, in GetTexProjMtx()
687 cam->cfg.left, in GetTexProjMtx()
688 - (cam->cfg.left), in GetTexProjMtx()
689 cam->cfg.znear, in GetTexProjMtx()
699 - (cam->cfg.top), // t = -y in projected texture in GetTexProjMtx()
700 cam->cfg.top, in GetTexProjMtx()
701 cam->cfg.left, in GetTexProjMtx()
702 - (cam->cfg.left), in GetTexProjMtx()
749 cam->cfg.location.x = in SetCamera()
751 cam->cfg.location.y = in SetCamera()
753 cam->cfg.location.z = in SetCamera()
758 &cam->cfg.location, in SetCamera()
759 &cam->cfg.up, in SetCamera()
760 &cam->cfg.target ); in SetCamera()
762 if ( cam->cfg.type == GX_PERSPECTIVE ) in SetCamera()
766 cam->cfg.top, in SetCamera()
767 - (cam->cfg.top), in SetCamera()
768 cam->cfg.left, in SetCamera()
769 - (cam->cfg.left), in SetCamera()
770 cam->cfg.znear, in SetCamera()
771 cam->cfg.zfar ); in SetCamera()
777 cam->cfg.top, in SetCamera()
778 - (cam->cfg.top), in SetCamera()
779 cam->cfg.left, in SetCamera()
780 - (cam->cfg.left), in SetCamera()
781 cam->cfg.znear, in SetCamera()
782 cam->cfg.zfar ); in SetCamera()
785 GXSetProjection(cam->proj, cam->cfg.type); in SetCamera()
800 Vec lpos = light->cam.cfg.location; in SetLight()