Lines Matching refs:cfg

89     CameraConfig      cfg;   member
353 sc->cam.cfg = DefaultCamera; in DrawInit()
433 sc->light.cam.cfg = ( sc->projMode ) ? in DrawTick()
922 cam->cfg.location.x = in SetCamera()
924 cam->cfg.location.y = in SetCamera()
926 cam->cfg.location.z = in SetCamera()
931 &cam->cfg.location, in SetCamera()
932 &cam->cfg.up, in SetCamera()
933 &cam->cfg.target ); in SetCamera()
935 if ( cam->cfg.type == GX_PERSPECTIVE ) in SetCamera()
939 cam->cfg.top, in SetCamera()
940 - (cam->cfg.top), in SetCamera()
941 cam->cfg.left, in SetCamera()
942 - (cam->cfg.left), in SetCamera()
943 cam->cfg.znear, in SetCamera()
944 cam->cfg.zfar ); in SetCamera()
950 cam->cfg.top, in SetCamera()
951 - (cam->cfg.top), in SetCamera()
952 cam->cfg.left, in SetCamera()
953 - (cam->cfg.left), in SetCamera()
954 cam->cfg.znear, in SetCamera()
955 cam->cfg.zfar ); in SetCamera()
958 GXSetProjection(cam->proj, cam->cfg.type); in SetCamera()
980 n = cam->cfg.znear; in GetTexProjMtx()
981 f = cam->cfg.zfar; in GetTexProjMtx()
990 if ( cam->cfg.type == GX_PERSPECTIVE ) in GetTexProjMtx()
995 - (cam->cfg.top), // t = -y in projected texture in GetTexProjMtx()
996 cam->cfg.top, in GetTexProjMtx()
997 cam->cfg.left, in GetTexProjMtx()
998 - (cam->cfg.left), in GetTexProjMtx()
999 cam->cfg.znear, in GetTexProjMtx()
1020 - (cam->cfg.top), // t = -y in projected texture in GetTexProjMtx()
1021 cam->cfg.top, in GetTexProjMtx()
1022 cam->cfg.left, in GetTexProjMtx()
1023 - (cam->cfg.left), in GetTexProjMtx()
1056 Vec lpos = light->cam.cfg.location; in SetLight()