com.jhlabs.vecmath
Class Vector4f
java.lang.Object
com.jhlabs.vecmath.Tuple4f
com.jhlabs.vecmath.Vector4f
public class Vector4f
- extends Tuple4f
Vector math package, converted to look similar to javax.vecmath.
Fields inherited from class com.jhlabs.vecmath.Tuple4f |
w, x, y, z |
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 |
Vector4f
public Vector4f()
Vector4f
public Vector4f(float[] x)
Vector4f
public Vector4f(float x,
float y,
float z,
float w)
Vector4f
public Vector4f(Vector4f t)
Vector4f
public Vector4f(Tuple4f t)
dot
public float dot(Vector4f v)
length
public float length()
normalize
public void normalize()