railo.runtime.img.vecmath
Class Vector4f

java.lang.Object
  extended by railo.runtime.img.vecmath.Tuple4f
      extended by railo.runtime.img.vecmath.Vector4f

public class Vector4f
extends Tuple4f

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


Field Summary
 
Fields inherited from class railo.runtime.img.vecmath.Tuple4f
w, x, y, z
 
Constructor Summary
Vector4f()
           
Vector4f(float[] x)
           
Vector4f(float x, float y, float z, float w)
           
Vector4f(Tuple4f t)
           
Vector4f(Vector4f t)
           
 
Method Summary
 float dot(Vector4f v)
           
 float length()
           
 void normalize()
           
 
Methods inherited from class railo.runtime.img.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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

dot

public float dot(Vector4f v)

length

public float length()

normalize

public void normalize()


Copyright © 2012 Railo