org.jagatoo.loaders.models.cal3d.buffer
Class TexCoord2fBuffer

java.lang.Object
  extended by org.jagatoo.loaders.models.cal3d.buffer.TexCoord2fBuffer

public class TexCoord2fBuffer
extends java.lang.Object

TexCoord2fBuffer provides a wrapper to FloatBuffer for TexCoord2f. It is also the intended extension point for high-performance implementations of vector linear algebra.


Constructor Summary
TexCoord2fBuffer(int length)
           
 
Method Summary
 org.openmali.vecmath2.Vector2f get(int n)
           
 java.nio.FloatBuffer getBuffer()
           
 float getX(int n)
           
 float getY(int n)
           
 void put(int n, float x, float y)
           
 void put(int n, org.openmali.vecmath2.Vector2f v)
           
 void putX(int n, float x)
           
 void putY(int n, float y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TexCoord2fBuffer

public TexCoord2fBuffer(int length)
Method Detail

put

public void put(int n,
                float x,
                float y)

put

public void put(int n,
                org.openmali.vecmath2.Vector2f v)

putX

public void putX(int n,
                 float x)

putY

public void putY(int n,
                 float y)

get

public org.openmali.vecmath2.Vector2f get(int n)

getX

public float getX(int n)

getY

public float getY(int n)

getBuffer

public java.nio.FloatBuffer getBuffer()