예제 #1
0
        static render()
        {
            int kk;
            int i, j;

            for (kk = 0; kk < 4; kk++)
            {
                screenedge[kk] = new model.mplane_t();
            }
            for (kk = 0; kk < 4; kk++)
            {
                view_clipplanes[kk] = new render.clipplane_t();
            }
            for (kk = 0; kk < 16; kk++)
            {
                world_clipplanes[kk] = new render.clipplane_t();
            }
            for (i = 0; i < 2; i++)
            {
                for (j = 0; j < MAXWORKINGVERTS; j++)
                {
                    clip_verts[i][j] = new double[5];
                }
            }
            for (i = 0; i < 2; i++)
            {
                for (j = 0; j < 8; j++)
                {
                    fva[i][j] = new draw.finalvert_t();
                }
            }
            for (kk = 0; kk < 8; kk++)
            {
                av[kk] = new auxvert_t();
            }
            r_alias_init();
        }
예제 #2
0
파일: r_main.cs 프로젝트: sbrown345/quakejs
 static render()
 {
     int kk;
     int i,j;
     for(kk = 0; kk < 4; kk++) screenedge[kk] = new model.mplane_t();
     for(kk = 0; kk < 4; kk++) view_clipplanes[kk] = new render.clipplane_t();
     for(kk = 0; kk < 16; kk++) world_clipplanes[kk] = new render.clipplane_t();
     for(i = 0; i < 2; i++)
         for(j = 0; j < MAXWORKINGVERTS; j++)
             clip_verts[i][j] = new double[5];
     for(i = 0; i < 2; i++)
         for(j = 0; j < 8; j++)
             fva[i][j] = new draw.finalvert_t();
     for(kk = 0; kk < 8; kk++) av[kk] = new auxvert_t();
     r_alias_init();
 }