com.jhlabs.vecmath

Class 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(Quat4f t)
Quat4f(Tuple4f t)
Quat4f(float x, float y, float z, float w)
Quat4f(float[] x)

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

Constructor Details

Quat4f

public Quat4f()

Quat4f

public Quat4f(Quat4f t)

Quat4f

public Quat4f(Tuple4f t)

Quat4f

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

Quat4f

public Quat4f(float[] x)

Method Details

normalize

public void normalize()

set

public void set(AxisAngle4f a)

set

public void set(Matrix4f m)