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

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

public class ScalarfBuffer
extends java.lang.Object

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


Field Summary
protected  int length
           
 
Constructor Summary
ScalarfBuffer(int length)
           
 
Method Summary
 float get(int n)
           
 java.nio.Buffer getBuffer()
           
 void put(int n, float x)
           
 void set(ScalarfBuffer v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

length

protected int length
Constructor Detail

ScalarfBuffer

public ScalarfBuffer(int length)
Method Detail

set

public void set(ScalarfBuffer v)

put

public void put(int n,
                float x)

get

public float get(int n)

getBuffer

public java.nio.Buffer getBuffer()