org.openmali.vecmath2.pools
Class TexCoord3fPool

java.lang.Object
  extended by org.openmali.pooling.ObjectPool<TexCoord3f>
      extended by org.openmali.vecmath2.pools.TexCoord3fPool

public class TexCoord3fPool
extends ObjectPool<TexCoord3f>

An instance pool for TexCoord1f instances.


Constructor Summary
TexCoord3fPool(int initialSize)
           
 
Method Summary
 TexCoord3f alloc()
          
 TexCoord3f alloc(float s, float t, float p)
           
protected  TexCoord3f newInstance()
          Creates a new instance of a pooled object.
 
Methods inherited from class org.openmali.pooling.ObjectPool
free, getSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TexCoord3fPool

public TexCoord3fPool(int initialSize)
Method Detail

newInstance

protected TexCoord3f newInstance()
Creates a new instance of a pooled object.

Specified by:
newInstance in class ObjectPool<TexCoord3f>
Returns:
the new object instance

alloc

public TexCoord3f alloc()

Overrides:
alloc in class ObjectPool<TexCoord3f>

alloc

public TexCoord3f alloc(float s,
                        float t,
                        float p)