net.minecraft.util
Class AABBPool

java.lang.Object
  extended by net.minecraft.util.AABBPool

public class AABBPool
extends Object


Constructor Summary
AABBPool(int par1, int par2)
           
 
Method Summary
 AxisAlignedBB addOrModifyAABBInPool(double par1, double par3, double par5, double par7, double par9, double par11)
          Adds a AABB to the pool, or if there is an available AABB, updates an existing AABB entry to specified coordinates
 void cleanPool()
          Marks the pool as "empty", starting over when adding new entries.
 void clearPool()
           
 int getlistAABBsize()
           
 int getnextPoolIndex()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AABBPool

public AABBPool(int par1,
                int par2)
Method Detail

addOrModifyAABBInPool

public AxisAlignedBB addOrModifyAABBInPool(double par1,
                                           double par3,
                                           double par5,
                                           double par7,
                                           double par9,
                                           double par11)
Adds a AABB to the pool, or if there is an available AABB, updates an existing AABB entry to specified coordinates


cleanPool

public void cleanPool()
Marks the pool as "empty", starting over when adding new entries. If this is called maxNumCleans times, the list size is reduced


clearPool

public void clearPool()

getlistAABBsize

public int getlistAABBsize()

getnextPoolIndex

public int getnextPoolIndex()