org.openmali.vecmath2.pools
Class TexCoord4fPool

java.lang.Object
  extended by org.openmali.pooling.ObjectPool<TexCoord4f>
      extended by org.openmali.vecmath2.pools.TexCoord4fPool

public class TexCoord4fPool
extends ObjectPool<TexCoord4f>

An instance pool for TexCoord1f instances.


Constructor Summary
TexCoord4fPool(int initialSize)
           
 
Method Summary
 TexCoord4f alloc()
          
 TexCoord4f alloc(float s, float t, float p, float q)
           
protected  TexCoord4f 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

TexCoord4fPool

public TexCoord4fPool(int initialSize)
Method Detail

newInstance

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

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

alloc

public TexCoord4f alloc()

Overrides:
alloc in class ObjectPool<TexCoord4f>

alloc

public TexCoord4f alloc(float s,
                        float t,
                        float p,
                        float q)