Code example for IntBuffer

Methods: flip, put, remaining

0
   public boolean func_110301_a(int var1, int var2, int var3) {
      return !this.field_110313_h?false:var1 == this.field_110312_a && var2 == this.field_110310_b && var3 == this.field_110311_c;
   } 
 
   public void func_110303_a(int var1) {
      this.field_110307_g.put(var1);
      if(this.field_110307_g.remaining() == 0) {
         this.func_110302_a();
      } 
 
   } 
 
   public void func_110302_a() { 
      if(this.field_110313_h) {
         if(!this.field_110314_i) {
            this.field_110307_g.flip();
            this.field_110314_i = true;
         } 
 
         if(this.field_110307_g.remaining() > 0) {
            GL11.glPushMatrix();
            GL11.glTranslatef((float)((double)this.field_110312_a - this.field_110308_d), (float)((double)this.field_110310_b - this.field_110309_e), (float)((double)this.field_110311_c - this.field_110306_f));
            GL11.glCallLists(this.field_110307_g);
            GL11.glPopMatrix();
         } 
 
      } 
   }