public TesselatorVertexState getVertexState(float p_147564_1_, float p_147564_2_, float p_147564_3_) { ; ; ; ; int[] aint = new int[this.rawBufferIndex]; PriorityQueue priorityqueue = new PriorityQueue(this.rawBufferIndex, new QuadComparator(this.rawBuffer, p_147564_1_ + (float)this.xOffset, p_147564_2_ + (float)this.yOffset, p_147564_3_ + (float)this.zOffset)); byte b0 = 32; for (int i = 0; i < this.rawBufferIndex; i += b0) { priorityqueue.add(Integer.valueOf(i)); } for (int i = 0; !priorityqueue.isEmpty(); i += b0) { int j = ((Integer)priorityqueue.remove()).intValue(); for (int k = 0; k < b0; k++) { aint[(i + k)] = this.rawBuffer[(j + k)]; } } System.arraycopy(aint, 0, this.rawBuffer, 0, aint.length); return new TesselatorVertexState(aint, this.rawBufferIndex, this.vertexCount, this.hasTexture, this.hasBrightness, this.hasNormals, this.hasColor); }
public TesselatorVertexState getVertexState(float p_147564_1_, float p_147564_2_, float p_147564_3_) { int[] aint = new int[this.rawBufferIndex]; PriorityQueue priorityqueue = new PriorityQueue(this.rawBufferIndex, new QuadComparator(this.rawBuffer, p_147564_1_ + (float)this.xOffset, p_147564_2_ + (float)this.yOffset, p_147564_3_ + (float)this.zOffset)); byte b0 = 32; int i; for (i = 0; i < this.rawBufferIndex; i += b0) { priorityqueue.add(Integer.valueOf(i)); } for (i = 0; !priorityqueue.isEmpty(); i += b0) { int j = ((Integer)priorityqueue.remove()).intValue(); for (int k = 0; k < b0; ++k) { aint[i + k] = this.rawBuffer[j + k]; } } System.arraycopy(aint, 0, this.rawBuffer, 0, aint.length); return new TesselatorVertexState(aint, this.rawBufferIndex, this.vertexCount, this.hasTexture, this.hasBrightness, this.hasNormals, this.hasColor); }
public TesselatorVertexState getVertexState(float p_147564_1_, float p_147564_2_, float p_147564_3_) { if (this.rawBufferIndex < 1) { return null; } else { int[] var4 = new int[this.rawBufferIndex]; PriorityQueue var5 = new PriorityQueue(this.rawBufferIndex, new QuadComparator(this.rawBuffer, p_147564_1_ + (float)this.xOffset, p_147564_2_ + (float)this.yOffset, p_147564_3_ + (float)this.zOffset)); byte var6 = 32; int var7; for (var7 = 0; var7 < this.rawBufferIndex; var7 += var6) { var5.add(Integer.valueOf(var7)); } for (var7 = 0; !var5.isEmpty(); var7 += var6) { int var8 = ((Integer)var5.remove()).intValue(); for (int var9 = 0; var9 < var6; ++var9) { var4[var7 + var9] = this.rawBuffer[var8 + var9]; } } System.arraycopy(var4, 0, this.rawBuffer, 0, var4.length); return new TesselatorVertexState(var4, this.rawBufferIndex, this.vertexCount, this.hasTexture, this.hasBrightness, this.hasNormals, this.hasColor); } }