Examples of vertexUV()


Examples of com.mojang.minecraft.render.ShapeRenderer.vertexUV()

   public final void drawImage(int var1, int var2, int var3, int var4, int var5, int var6) {
      float var7 = 0.00390625F;
      float var8 = 0.00390625F;
      ShapeRenderer var9 = ShapeRenderer.instance;
      ShapeRenderer.instance.begin();
      var9.vertexUV((float)var1, (float)(var2 + var6), this.imgZ, (float)var3 * var7, (float)(var4 + var6) * var8);
      var9.vertexUV((float)(var1 + var5), (float)(var2 + var6), this.imgZ, (float)(var3 + var5) * var7, (float)(var4 + var6) * var8);
      var9.vertexUV((float)(var1 + var5), (float)var2, this.imgZ, (float)(var3 + var5) * var7, (float)var4 * var8);
      var9.vertexUV((float)var1, (float)var2, this.imgZ, (float)var3 * var7, (float)var4 * var8);
      var9.end();
   }
View Full Code Here

Examples of com.mojang.minecraft.render.ShapeRenderer.vertexUV()

      float var7 = 0.00390625F;
      float var8 = 0.00390625F;
      ShapeRenderer var9 = ShapeRenderer.instance;
      ShapeRenderer.instance.begin();
      var9.vertexUV((float)var1, (float)(var2 + var6), this.imgZ, (float)var3 * var7, (float)(var4 + var6) * var8);
      var9.vertexUV((float)(var1 + var5), (float)(var2 + var6), this.imgZ, (float)(var3 + var5) * var7, (float)(var4 + var6) * var8);
      var9.vertexUV((float)(var1 + var5), (float)var2, this.imgZ, (float)(var3 + var5) * var7, (float)var4 * var8);
      var9.vertexUV((float)var1, (float)var2, this.imgZ, (float)var3 * var7, (float)var4 * var8);
      var9.end();
   }
}
View Full Code Here

Examples of com.mojang.minecraft.render.ShapeRenderer.vertexUV()

      float var8 = 0.00390625F;
      ShapeRenderer var9 = ShapeRenderer.instance;
      ShapeRenderer.instance.begin();
      var9.vertexUV((float)var1, (float)(var2 + var6), this.imgZ, (float)var3 * var7, (float)(var4 + var6) * var8);
      var9.vertexUV((float)(var1 + var5), (float)(var2 + var6), this.imgZ, (float)(var3 + var5) * var7, (float)(var4 + var6) * var8);
      var9.vertexUV((float)(var1 + var5), (float)var2, this.imgZ, (float)(var3 + var5) * var7, (float)var4 * var8);
      var9.vertexUV((float)var1, (float)var2, this.imgZ, (float)var3 * var7, (float)var4 * var8);
      var9.end();
   }
}
View Full Code Here

Examples of com.mojang.minecraft.render.ShapeRenderer.vertexUV()

      ShapeRenderer var9 = ShapeRenderer.instance;
      ShapeRenderer.instance.begin();
      var9.vertexUV((float)var1, (float)(var2 + var6), this.imgZ, (float)var3 * var7, (float)(var4 + var6) * var8);
      var9.vertexUV((float)(var1 + var5), (float)(var2 + var6), this.imgZ, (float)(var3 + var5) * var7, (float)(var4 + var6) * var8);
      var9.vertexUV((float)(var1 + var5), (float)var2, this.imgZ, (float)(var3 + var5) * var7, (float)var4 * var8);
      var9.vertexUV((float)var1, (float)var2, this.imgZ, (float)var3 * var7, (float)var4 * var8);
      var9.end();
   }
}
View Full Code Here

Examples of com.mojang.minecraft.render.ShapeRenderer.vertexUV()

            var10 = var12;
            if(var7 >= 0 && var8 >= 0 && var7 < var9.level.width && var8 < var9.level.height) {
               var10 = 0.0F;
            }

            var11.vertexUV((float)var7, var10, (float)(var8 + var5), 0.0F, (float)var5);
            var11.vertexUV((float)(var7 + var5), var10, (float)(var8 + var5), (float)var5, (float)var5);
            var11.vertexUV((float)(var7 + var5), var10, (float)var8, (float)var5, 0.0F);
            var11.vertexUV((float)var7, var10, (float)var8, 0.0F, 0.0F);
         }
      }
View Full Code Here

Examples of com.mojang.minecraft.render.ShapeRenderer.vertexUV()

            if(var7 >= 0 && var8 >= 0 && var7 < var9.level.width && var8 < var9.level.height) {
               var10 = 0.0F;
            }

            var11.vertexUV((float)var7, var10, (float)(var8 + var5), 0.0F, (float)var5);
            var11.vertexUV((float)(var7 + var5), var10, (float)(var8 + var5), (float)var5, (float)var5);
            var11.vertexUV((float)(var7 + var5), var10, (float)var8, (float)var5, 0.0F);
            var11.vertexUV((float)var7, var10, (float)var8, 0.0F, 0.0F);
         }
      }
View Full Code Here

Examples of com.mojang.minecraft.render.ShapeRenderer.vertexUV()

               var10 = 0.0F;
            }

            var11.vertexUV((float)var7, var10, (float)(var8 + var5), 0.0F, (float)var5);
            var11.vertexUV((float)(var7 + var5), var10, (float)(var8 + var5), (float)var5, (float)var5);
            var11.vertexUV((float)(var7 + var5), var10, (float)var8, (float)var5, 0.0F);
            var11.vertexUV((float)var7, var10, (float)var8, 0.0F, 0.0F);
         }
      }

      var11.end();
View Full Code Here

Examples of com.mojang.minecraft.render.ShapeRenderer.vertexUV()

            }

            var11.vertexUV((float)var7, var10, (float)(var8 + var5), 0.0F, (float)var5);
            var11.vertexUV((float)(var7 + var5), var10, (float)(var8 + var5), (float)var5, (float)var5);
            var11.vertexUV((float)(var7 + var5), var10, (float)var8, (float)var5, 0.0F);
            var11.vertexUV((float)var7, var10, (float)var8, 0.0F, 0.0F);
         }
      }

      var11.end();
      GL11.glColor3f(0.8F, 0.8F, 0.8F);
View Full Code Here

Examples of com.mojang.minecraft.render.ShapeRenderer.vertexUV()

      var11.end();
      GL11.glColor3f(0.8F, 0.8F, 0.8F);
      var11.begin();

      for(var7 = 0; var7 < var9.level.width; var7 += var5) {
         var11.vertexUV((float)var7, 0.0F, 0.0F, 0.0F, 0.0F);
         var11.vertexUV((float)(var7 + var5), 0.0F, 0.0F, (float)var5, 0.0F);
         var11.vertexUV((float)(var7 + var5), var12, 0.0F, (float)var5, var12);
         var11.vertexUV((float)var7, var12, 0.0F, 0.0F, var12);
         var11.vertexUV((float)var7, var12, (float)var9.level.height, 0.0F, var12);
         var11.vertexUV((float)(var7 + var5), var12, (float)var9.level.height, (float)var5, var12);
View Full Code Here

Examples of com.mojang.minecraft.render.ShapeRenderer.vertexUV()

      GL11.glColor3f(0.8F, 0.8F, 0.8F);
      var11.begin();

      for(var7 = 0; var7 < var9.level.width; var7 += var5) {
         var11.vertexUV((float)var7, 0.0F, 0.0F, 0.0F, 0.0F);
         var11.vertexUV((float)(var7 + var5), 0.0F, 0.0F, (float)var5, 0.0F);
         var11.vertexUV((float)(var7 + var5), var12, 0.0F, (float)var5, var12);
         var11.vertexUV((float)var7, var12, 0.0F, 0.0F, var12);
         var11.vertexUV((float)var7, var12, (float)var9.level.height, 0.0F, var12);
         var11.vertexUV((float)(var7 + var5), var12, (float)var9.level.height, (float)var5, var12);
         var11.vertexUV((float)(var7 + var5), 0.0F, (float)var9.level.height, (float)var5, 0.0F);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.