Beispiel #1
0
 public void func_70539_a(
     Tessellator p_70539_1_,
     float p_70539_2_,
     float p_70539_3_,
     float p_70539_4_,
     float p_70539_5_,
     float p_70539_6_,
     float p_70539_7_) {
   float var8 = (float) (this.field_70550_a % 16) / 16.0F;
   float var9 = var8 + 0.0624375F;
   float var10 = (float) (this.field_70550_a / 16) / 16.0F;
   float var11 = var10 + 0.0624375F;
   float var12 = 0.1F * this.field_70544_f;
   float var13 =
       (float)
           (this.field_70169_q
               + (this.field_70165_t - this.field_70169_q) * (double) p_70539_2_
               - field_70556_an);
   float var14 =
       (float)
           (this.field_70167_r
               + (this.field_70163_u - this.field_70167_r) * (double) p_70539_2_
               - field_70554_ao);
   float var15 =
       (float)
           (this.field_70166_s
               + (this.field_70161_v - this.field_70166_s) * (double) p_70539_2_
               - field_70555_ap);
   float var16 = 1.0F;
   p_70539_1_.func_78386_a(
       this.field_70552_h * var16, this.field_70553_i * var16, this.field_70551_j * var16);
   p_70539_1_.func_78374_a(
       (double) (var13 - p_70539_3_ * var12 - p_70539_6_ * var12),
       (double) (var14 - p_70539_4_ * var12),
       (double) (var15 - p_70539_5_ * var12 - p_70539_7_ * var12),
       (double) var9,
       (double) var11);
   p_70539_1_.func_78374_a(
       (double) (var13 - p_70539_3_ * var12 + p_70539_6_ * var12),
       (double) (var14 + p_70539_4_ * var12),
       (double) (var15 - p_70539_5_ * var12 + p_70539_7_ * var12),
       (double) var9,
       (double) var10);
   p_70539_1_.func_78374_a(
       (double) (var13 + p_70539_3_ * var12 + p_70539_6_ * var12),
       (double) (var14 + p_70539_4_ * var12),
       (double) (var15 + p_70539_5_ * var12 + p_70539_7_ * var12),
       (double) var8,
       (double) var10);
   p_70539_1_.func_78374_a(
       (double) (var13 + p_70539_3_ * var12 - p_70539_6_ * var12),
       (double) (var14 - p_70539_4_ * var12),
       (double) (var15 + p_70539_5_ * var12 - p_70539_7_ * var12),
       (double) var8,
       (double) var11);
 }
  public void func_70539_a(
      Tessellator p_70539_1_,
      float p_70539_2_,
      float p_70539_3_,
      float p_70539_4_,
      float p_70539_5_,
      float p_70539_6_,
      float p_70539_7_) {
    float var8 = ((float) this.field_94054_b + this.field_70548_b / 4.0F) / 16.0F;
    float var9 = var8 + 0.015609375F;
    float var10 = ((float) this.field_94055_c + this.field_70549_c / 4.0F) / 16.0F;
    float var11 = var10 + 0.015609375F;
    float var12 = 0.1F * this.field_70544_f;
    if (this.field_70550_a != null) {
      var8 = this.field_70550_a.func_94214_a((double) (this.field_70548_b / 4.0F * 16.0F));
      var9 = this.field_70550_a.func_94214_a((double) ((this.field_70548_b + 1.0F) / 4.0F * 16.0F));
      var10 = this.field_70550_a.func_94207_b((double) (this.field_70549_c / 4.0F * 16.0F));
      var11 =
          this.field_70550_a.func_94207_b((double) ((this.field_70549_c + 1.0F) / 4.0F * 16.0F));
    }

    float var13 =
        (float)
            (this.field_70169_q
                + (this.field_70165_t - this.field_70169_q) * (double) p_70539_2_
                - field_70556_an);
    float var14 =
        (float)
            (this.field_70167_r
                + (this.field_70163_u - this.field_70167_r) * (double) p_70539_2_
                - field_70554_ao);
    float var15 =
        (float)
            (this.field_70166_s
                + (this.field_70161_v - this.field_70166_s) * (double) p_70539_2_
                - field_70555_ap);
    float var16 = 1.0F;
    p_70539_1_.func_78386_a(
        var16 * this.field_70552_h, var16 * this.field_70553_i, var16 * this.field_70551_j);
    p_70539_1_.func_78374_a(
        (double) (var13 - p_70539_3_ * var12 - p_70539_6_ * var12),
        (double) (var14 - p_70539_4_ * var12),
        (double) (var15 - p_70539_5_ * var12 - p_70539_7_ * var12),
        (double) var8,
        (double) var11);
    p_70539_1_.func_78374_a(
        (double) (var13 - p_70539_3_ * var12 + p_70539_6_ * var12),
        (double) (var14 + p_70539_4_ * var12),
        (double) (var15 - p_70539_5_ * var12 + p_70539_7_ * var12),
        (double) var8,
        (double) var10);
    p_70539_1_.func_78374_a(
        (double) (var13 + p_70539_3_ * var12 + p_70539_6_ * var12),
        (double) (var14 + p_70539_4_ * var12),
        (double) (var15 + p_70539_5_ * var12 + p_70539_7_ * var12),
        (double) var9,
        (double) var10);
    p_70539_1_.func_78374_a(
        (double) (var13 + p_70539_3_ * var12 - p_70539_6_ * var12),
        (double) (var14 - p_70539_4_ * var12),
        (double) (var15 + p_70539_5_ * var12 - p_70539_7_ * var12),
        (double) var9,
        (double) var11);
  }