com.jhlabs.vecmath
Class Quat4f

java.lang.Object
  extended by com.jhlabs.vecmath.Tuple4f
      extended by com.jhlabs.vecmath.Quat4f

public class Quat4f
extends Tuple4f

Vector math package, converted to look similar to javax.vecmath.


Field Summary
 
Fields inherited from class com.jhlabs.vecmath.Tuple4f
w, x, y, z
 
Constructor Summary
Quat4f()
           
Quat4f(float[] x)
           
Quat4f(float x, float y, float z, float w)
           
Quat4f(Quat4f t)
           
Quat4f(Tuple4f t)
           
 
Method Summary
 void normalize()
           
 void set(AxisAngle4f a)
           
 void set(Matrix4f m)
           
 
Methods inherited from class com.jhlabs.vecmath.Tuple4f
absolute, absolute, add, add, clamp, get, get, interpolate, negate, negate, scale, set, set, set, sub, sub, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Quat4f

public Quat4f()

Quat4f

public Quat4f(float[] x)

Quat4f

public Quat4f(float x,
              float y,
              float z,
              float w)

Quat4f

public Quat4f(Quat4f t)

Quat4f

public Quat4f(Tuple4f t)
Method Detail

set

public void set(AxisAngle4f a)

normalize

public void normalize()

set

public void set(Matrix4f m)