H A D | XTexture.js | 107 TmpCut(rid, x = 0, y = 0, w = -1, h = -1, ww = 1024, hh = 1024) { argument 116 h = hh; 118 this.callAllCuts(this.tmpCutid, rid, x, y, w, h, ww, hh); 122 callAllCuts(param, rid, x, y, w, h, ww, hh) { argument 124 rid: rid, x: x, y: y, w: w, h: h, u0: x / ww, v0: y / hh, u1: (x + w) / ww, v1: y / hh, 125 u2: (x + w) / ww, v2: (y + h) / hh, u3: x / ww, v3: (y + h) / hh, 128 makeCut(rid, x = 0, y = 0, w = -1, h = -1, ww = -1, hh = -1) { argument 132 if (hh === -1) { 133 hh = this.ximages[rid].h; 139 h = hh; [all …]
|