org.jagatoo.loaders.models.cal3d.buffer
Class Quat4fBuffer
java.lang.Object
org.jagatoo.loaders.models.cal3d.buffer.Quat4fBuffer
public class Quat4fBuffer
- extends java.lang.Object
Quat4fBuffer provides a wrapper to FloatBuffer for Quat4f.
It is also the intended extension point for high-performance implementations
of vector linear algebra.
|
Method Summary |
org.openmali.vecmath2.Quaternion4f |
get(int n)
|
java.nio.Buffer |
getBuffer()
|
float |
getW(int n)
|
float |
getX(int n)
|
float |
getY(int n)
|
float |
getZ(int n)
|
void |
put(int n,
float x,
float y,
float z,
float w)
|
void |
put(int n,
org.openmali.vecmath2.Quaternion4f v)
|
void |
putW(int n,
float w)
|
void |
putX(int n,
float x)
|
void |
putY(int n,
float y)
|
void |
putZ(int n,
float z)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Quat4fBuffer
public Quat4fBuffer(int length)
put
public void put(int n,
float x,
float y,
float z,
float w)
put
public void put(int n,
org.openmali.vecmath2.Quaternion4f v)
putX
public void putX(int n,
float x)
putY
public void putY(int n,
float y)
putZ
public void putZ(int n,
float z)
putW
public void putW(int n,
float w)
get
public org.openmali.vecmath2.Quaternion4f get(int n)
getX
public float getX(int n)
getY
public float getY(int n)
getZ
public float getZ(int n)
getW
public float getW(int n)
getBuffer
public java.nio.Buffer getBuffer()