railo.runtime.img.vecmath
Class Vector3f

java.lang.Object
  extended by railo.runtime.img.vecmath.Tuple3f
      extended by railo.runtime.img.vecmath.Vector3f

public class Vector3f
extends Tuple3f

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


Field Summary
 
Fields inherited from class railo.runtime.img.vecmath.Tuple3f
x, y, z
 
Constructor Summary
Vector3f()
           
Vector3f(float[] x)
           
Vector3f(float x, float y, float z)
           
Vector3f(Tuple3f t)
           
Vector3f(Vector3f t)
           
 
Method Summary
 float angle(Vector3f v)
           
 void cross(Vector3f v1, Vector3f v2)
           
 float dot(Vector3f v)
           
 float length()
           
 void normalize()
           
 
Methods inherited from class railo.runtime.img.vecmath.Tuple3f
absolute, absolute, add, add, clamp, get, get, interpolate, negate, negate, scale, scaleAdd, scaleAdd, set, set, set, sub, sub, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Vector3f

public Vector3f()

Vector3f

public Vector3f(float[] x)

Vector3f

public Vector3f(float x,
                float y,
                float z)

Vector3f

public Vector3f(Vector3f t)

Vector3f

public Vector3f(Tuple3f t)
Method Detail

angle

public float angle(Vector3f v)

dot

public float dot(Vector3f v)

cross

public void cross(Vector3f v1,
                  Vector3f v2)

length

public float length()

normalize

public void normalize()


Copyright © 2012 Railo